Getting started

Part 1 of the Laravel course. What Laravel is, a project created with Composer, the first route, controllers, Blade, and reusable Blade components: the framework and one working app.

The cards below open the lessons of the part, and the tree lists them in the reading order of the whole course. The previous and the next page at the bottom move through that order.

1.1 What is Laravel and where it runs What Laravel is, how it differs from plain PHP, and which projects fit it best. Open 1.2 Install Laravel How to create a Laravel project with Composer, set the app key, and open the welcome page. Open 1.3 Your first route How to add GET routes with closures, return views, and read route parameters. Open 1.4 Controllers How to move route logic into controllers, write methods, and read request input. Open 1.5 Blade basics How to print data, loop, branch, and share layouts with the Blade templating engine. Open 1.6 Blade advanced How to build reusable Blade components with slots and props. Open

Lessons