Laravel中的Bootstrapping是什么? [英] What is Bootstrapping in Laravel?
问题描述
Laravel中的Bootstrapping是什么?它是如何工作的?
What is Bootstrapping in Laravel and how does it work?
推荐答案
Bootstrapping是Laravel将框架中必要的位组合在一起以能够处理和处理系统中抛出的功能的过程.
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.
在bootstrap文件夹中,您会找到一些文件: autoload.php
-加载并包含composer,以便加载所有软件包. services.php
-将提供程序存储在应用程序中以更快地加载系统. app.php
-加载并初始化应用.
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.
这篇关于Laravel中的Bootstrapping是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!