bangunsoft/problem-alert
Composer 安装命令:
composer require bangunsoft/problem-alert
包简介
Captures non-2xx responses and storing them in a database for analysis and monitoring purposes
README 文档
README
Problem Alert is laravel library for handling error and saving this to database.
Laravel Support
- Laravel 6++
Installing
You can install this library using composer
composer require bangunsoft/problem-alert
php artisan vendor:publish --tag=problem-config
Migrate Database
You must migrate database after install this library
php artisan migrate
Or you can use
php artisan migrate --path=/vendor/bangunsoft/problem-alert/database/migrations/2023_05_30_000001_create_problems_table.php
Configuration
After config published, You can configure the library at config/problem.php
<?php return [ //except save request 'except' => [ // 'login' ], //catch error if listed 'status_code' => [ 403, 404, 500 ], // who can access // default is web & auth 'middleware' => ['web', 'auth'], //name of the table which visit records should save in 'table_name' => 'site_problems', ];
View Access
- Login to your website
- Open
{APP_URL}/vendor/problemsin your browser.
Screenshoot
Progress
- Catch errors (Done)
- Catch http request if not 2xx (Done)
- MVC (Done)
- I haven't idea
Testing
Open terminal and run
./vendor/bin/phpunit ./vendor/bangunsoft/problem-alert/tests/TestCase.php
Contribute
If you want join to collaborations with me, I'm very happy for that. You can contact me via email Bangunsoft@gmail.com
Note
My English is bad, so sorry for that.
bangunsoft/problem-alert 适用场景与选型建议
bangunsoft/problem-alert 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 24 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 05 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「bangunsoft」 「problem alert」 「track laravel error」 「trace laravel errors」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bangunsoft/problem-alert 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bangunsoft/problem-alert 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bangunsoft/problem-alert 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
API Problem implementation
Exception classes for Http Exception.
catch all Symfony errors and convert it to problem json RFC7807 response
A shrimp of an HTTP utility library
PHP Implementation of the Largest Area Fit First (LAFF) 3D (three dimension) box packing algorithm
Yii bot for sending messages (alerts) to Slack
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-30
