Installation and structure

A Laravel project is created with Composer and follows a conventional structure: app/ for the code, routes/ for routes, resources/ for views, database/ for migrations and seeders, config/ for configuration. The .env file contains environment-specific settings and stays out of the repository.

Example

composer create-project laravel/laravel mon-app

Related concepts

The whole glossary