I see 'the bootstrap process' mentioned in Dayle Rees Laravel tutorial "Code Bright" but no explanation of what it actually means. The Wikipedia definitions on Bootstrapping in computing don't seem to have any particular relevance.
The bootstrap process is responsible to pickup all the different pieces that combine Laravel framework together before you start to process the request and return result. This could be further explained and analysed by looking at bootstrap files. There is folder
bootstrap in root directory containing these files:
- autoload.php - includes composer's autoloader, defines a few Laravel specific constants, initializes UTF-8 handling library etc. It is also responsible for loading any packages in
- paths.php - this is just configuration array of relative paths. It allows you to move folders around or specify custom values. This is used so application knows where to look for various parts of framework.
- start.php - this is the actual bootstrap part. It initializes
Illuminate\Foundation\Applicationclass, detects environment, loads path configuration from
paths.phpand starts the Framework so further processing of the request can continue (routing etc.).
I hope this helped you to understand a bit more of what bootstrap is in Laravel framework. Feel free to have a look at these files as they are very well commented and will allow you have a more in-depth review yourself. If you still feel that you have any questions feel free to comment.