O'Reilly logo

Laravel 5 Essentials by Martin Bean

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required