Skip to content

Instantly share code, notes, and snippets.

@cristiancmello
Created May 27, 2019 13:25
Show Gist options
  • Save cristiancmello/45a3d8c2955cc1c5491fc77e0e5dfcd7 to your computer and use it in GitHub Desktop.
Save cristiancmello/45a3d8c2955cc1c5491fc77e0e5dfcd7 to your computer and use it in GitHub Desktop.
<?php
// ...
Route::get('name={name}', function ($name) {
return "{$name} say 'hello'!";
});
Route::get('phpinfo', function (){
phpinfo();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment