Laravel生命周期学习一
生命周期index.php1.1 检测是否处于维护模式if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { require __DIR__.'/../storage/framework/maintenance.php';}1.2 加载composer自动加载文件require __DIR__.'/../vendor/autoload.php';1.3 加载初始化容器$app = require_