← 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