PHP's most-loved framework. Laravel gives you elegant routing, the Eloquent ORM, Blade templates and an "artisan" CLI — batteries included for building full web apps fast.
In Laravel you declare routes in routes/web.php, point them at a controller method, and return data. Click a route to "visit" it and see the simulated response.
// routes/web.php Route::get('/posts', [PostController::class, 'index']); Route::get('/posts/{id}', [PostController::class, 'show']); // app/Http/Controllers/PostController.php class PostController { public function index() { return Post::all(); // auto-serialized to JSON } }
Eloquent lets you talk to the database in expressive PHP instead of SQL. Pick a query and watch the simulated posts table respond.
Blade is Laravel's templating engine. @foreach, {{ }} and layouts compile to plain PHP. Edit the title below and watch the rendered HTML update.
<h1>{{ $title }}</h1>
<ul>
@foreach ($posts as $post)
<li>{{ $post->title }}</li>
@endforeach
</ul>Laravel's artisan CLI scaffolds your app. Click to run the command and watch the generated files appear.
It bundles everything a web app usually needs.