Structure of a Laravel application

Over the course of the next two chapters, we will install Laravel and create our first application. Like most frameworks, Laravel starts out with a complete directory tree for you to organize your code in, and also includes placeholder files for you to use as a starting point. Here is what the directory of a new Laravel 5 application looks like:

./app/ # Your Laravel application ./app/Commands/ # Commands classes ./app/Console/ ./app/Console/Commands/ # Command-line scripts ./app/Events/ # Events that your application can raise ./app/Exceptions/ ./app/Handlers/ # Exception handlers ./app/Handlers/Commands # Handlers for command classes ./app/Handlers/Events # Handlers for event classes ./app/Http/ ./app/Http/Controllers/ ...

Get Laravel 5 Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.