Last active
May 25, 2020 14:27
-
-
Save mpociot/9f4e90e980366c8147055c7b64792717 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Hello {{ $name }}</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
|------------------------------------------- | |
| Welcome to Tinkerwell Web | |
|------------------------------------------- | |
| | |
| Tinkerwell Web allows you to try out PHP and Laravel all from your browser. | |
| You have access to all Laravel classes and an in-memory SQLite database. | |
| Go ahead, and try it out by pressing the run button (CTRL+R). | |
| | |
| You can find the Laravel documentation with a lot of ready-to-use | |
| code snippets by clicking the Laravel icon in the Toolbar. | |
| | |
*/ | |
use Illuminate\Http\Request; | |
Route::get('/', function(Request $request) { | |
return view('foo', ['name' => $request->get('name', 'World')]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment