Laravel Workerman
正在加载…
请使用更现代的浏览器并启用 JavaScript 以获得最佳浏览体验。
加载论坛时出错,请强制刷新页面重试。
Webman 启动流程
= - =
因为入口命令是
php start.php start
所以从
start.php
入手查阅源码
[x] webman bootstrap 加载 @see
https://github.com/walkor/webman-framework/blob/master/src/support/bootstrap.php#L75-L87
[x] start.php => bootstrap.php => 插件bootstrap::start()
[x] bootstrap.files、plugin 引入
[x] bootstrap.autoload、plugin 引入
[x] bootstrap.middleware、plugin 引入
[x] bootstrap.bootstrap、plugin 引入
[x] webman plugin 安装机制引入
https://github.com/walkor/webman-framework/blob/master/src/start.php
php start.php start
https://github.com/walkor/webman-framework/blob/master/src/start.php#L87
require_once bootstrap.php
https://github.com/walkor/webman-framework/blob/master/src/support/bootstrap.php#L53
autoload.php
https://github.com/walkor/webman-framework/blob/master/src/support/bootstrap.php#L60
autoload.files
https://github.com/walkor/webman-framework/blob/master/src/support/bootstrap.php#L70
middleware
https://github.com/walkor/webman-framework/blob/master/src/support/bootstrap.php#L77
bootstrap::start
https://github.com/walkor/webman-framework/blob/master/src/support/bootstrap.php#L84
plugin.bootstrap::start
https://github.com/walkor/webman-framework/blob/master/src/start.php#L97
worker_start
https://github.com/walkor/webman-framework/blob/master/src/start.php#L102
plugin.worker_start