alexmanase / error-notifications
这是我包 error-notifications 的介绍
dev-main
2024-05-08 21:20 UTC
Requires
- php: ^8.2
- illuminate/contracts: ^10.0||^11.0
- laravel-notification-channels/telegram: ^5.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1
- orchestra/testbench: ^9.0.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
- spatie/laravel-ray: ^1.35
This package is auto-updated.
Last update: 2024-09-08 21:57:25 UTC
README
这里应该放你的描述。尽量限制在一到两段话。考虑添加一个小例子。
安装
你可以通过 composer 安装这个包
composer require alexmanase/error-notifications
你可以使用以下命令发布配置文件
php artisan vendor:publish --tag="error-notifications-config"
这是已发布配置文件的内容
return [ 'enabled' => env('ERROR_NOTIFICATIONS', true) ];
用法
在你的项目 app.php
文件中的 withException
方法内调用 ::report
方法。
// app.php ->withExceptions(function (Exceptions $exceptions) { ErrorNotifications::report($exceptions); })->create();
测试
composer test
更新日志
请参阅 更新日志 了解最近的变化信息。
贡献
请参阅 贡献指南 了解详细信息。
安全漏洞
请审查 我们的安全策略 了解如何报告安全漏洞。
致谢
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 了解更多信息。