Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Directory Structure

The App Directory : The app directory, as you might expect, contains the core code of your
application
The Bootstrap Directory : The bootstrap directory contains files that bootstrap the framework
and configure autoloading. This directory also houses a cache directory

The Config Directory : The config directory, as the name implies, contains all of your
application's configuration files.
The Database Directory : The database directory contains your database migration and seeds.
The Public Directory : The public directory contains the index.php file, which is the entry point
for all requests entering your application. This directory also houses your assets such as images,
JavaScript, and CSS.

The Resources Directory : The resources directory contains your views as well as your raw.
The Routes Directory : The routes directory contains all of the route definitions for your
application. By default, several route files are included with Laravel: web.php, api.php, console.php and
channels.php.

The Storage Directory : The storage directory contains your compiled Blade templates, file
based sessions, file caches, and other files generated by the framework.

The Tests Directory : The tests directory contains your automated tests.
The Vendor Directory : The vendor directory contains your Composer dependencies.

Laravel Homestead
Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful
development environment without requiring you to install PHP, a web server, and any other server
software on your local machine.

Laravel Valet
Valet is a Laravel development environment for Mac minimalists.

Service Container
The Laravel service container is a powerful tool for managing class dependencies and performing
dependency injection. Dependency injection is a fancy phrase that essentially means this: class
dependencies are "injected" into the class via the constructor or, in some cases, "setter" methods.

Service Providers

Service providers are the central place of all Laravel application registering things, including
registering service container bindings, event listeners, middleware, and even routes. Service providers are
the central place to configure your application.
Facades

Facades provide a "static" interface to classes that are available in the application's service
container.

Contracts

Laravel's Contracts are a set of interfaces that define the core services provided by the framework.

You might also like