laravellaravel-5bootstrapping

What is Bootstrapping in Laravel?


What is Bootstrapping in Laravel and how does it work?


Solution

  • Bootstrapping is the process Laravel takes to combine the necessary bits in the framework together to be able to process and handle the functionality thrown at the system.

    Inside the bootstrap folder you will find a few files:
    autoload.php - loads and includes composer so any packages are loaded.
    services.php - stores the providers in the application to load the system quicker.
    app.php - loads and initialises the app.

    As above, all of this is easily discoverable online.