作曲家需要哨兵
<? php(电话) 使用照明\基础\应用程序; 使用Illuminate\Foundation\Configuration\Exceptions; 使用Illuminate\Foundation\Configuration\Middleware; 使用Sentry\Laravel\Integration; return应用程序::configure(basePath:dirname(__DIR__)) ->带路由( 网址:__DIR__.'// routes/web.php’, 命令:__DIR__.'// routes/console.php', 运行状况:'/up', ) ->带中间件(功能(中间件$中间件){ // }) ->withExceptions(函数(Exceptions$Exceptions){ 集成::句柄($exceptions); })->创建();
php工匠哨兵:publish--dsn=<paste-your-dsn-here>