← Laravel tutorial

Laravel

Introduction to Laravel

Laravel is a PHP framework, it gives raw PHP the same kind of structure Django gives Python or Express gives JavaScript: routing, an ORM (Eloquent), templating (Blade), and more, all working together instead of being hand-built from scratch for every project.

Example: starting a new project

composer create-project laravel/laravel my-app
cd my-app
php artisan serve
Starting Laravel development server: http://127.0.0.1:8000

artisan is Laravel's command-line tool, you'll use it constantly for everything from starting a dev server to generating new files, similar in spirit to Django's manage.py.

Example
composer create-project laravel/laravel my-app
cd my-app
php artisan serve
Output
Starting Laravel development server: http://127.0.0.1:8000
Ready to go further?

These free tutorials are a preview, our Backend Development cohort covers it in depth, with a real project and a cohort alongside you. Closes Nov 30

Enroll in Backend Development

Cookie preferences

Choose what you're comfortable with. You can change this any time from the footer.

Don't miss out

Ready to build something real?

Create a free account to enroll in a track, and get notified the moment a cohort opens.

Create free account