rollbar/rollbar-laravel
Composer 安装命令:
composer require rollbar/rollbar-laravel
包简介
Rollbar error monitoring integration for Laravel projects
README 文档
README
Rollbar error monitoring integration for Laravel projects. This library adds a listener to Laravel's logging component. Laravel's session information will be sent in to Rollbar, as well as some other helpful information such as 'environment', 'server', and 'session'.
Setup Instructions
- Sign up for a Rollbar account
- If you're using Laravel 5.6 and up follow Installation instructions in our Laravel 5.6 and up SDK docs
- If you're using Laravel 5.5 or lower follow Installation instructions in our Laravel 5.5 and lower SDK docs
Usage and Reference
For complete usage instructions and configuration reference, see our Laravel SDK docs.
Release History & Changelog
See our Releases page for a list of all releases, including changes.
Laravel 5.5 and below
Laravel 5.6 now requires PHP >= 7.1. As of rollbar/rollbar-php-laravel:v3.0.0 and up master also supports 5.6.
We still maintain support for Laravel 5.5 and below on branch laravel-5.5 and releases in the 2.x.x major.
Related projects
This project is a Laravel wrapper of Rollbar PHP: Rollbar PHP
A CakePHP-specific package is avaliable for integrating Rollbar PHP with CakePHP 2.x: CakeRollbar
A Flow-specific package is available for integrating Rollbar PHP with Neos Flow: m12/flow-rollbar
Yii package: baibaratsky/yii-rollbar
Yii2 package: baibaratsky/yii2-rollbar
Help / Support
If you run into any issues, please email us at support@rollbar.com
For bug reports, please open an issue on GitHub.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Testing
Tests are in tests.
- To run the tests:
composer test - To fix code style issues:
composer fix
Note: The test suite uses Orchestra Testbench, which resolves the Laravel version based on your installed PHP. To reproduce Laravel 13-specific failures locally you need PHP 8.3 or higher — PHP 8.1/8.2 will resolve to Testbench 9/10 (Laravel 11/12) and will not exercise the Laravel 13 container. The full Laravel 13 integration is verified by CI, which runs the real Laravel install against PHP 8.3+.
Docker
Docker binaries are located in ./bin and can be run by simply executing bin/phpunit for example.
- To run tests:
bin/phpunit - To run code sniffer:
bin/phpcsorbin/phpcbf - To run all supported versions:
bin/phpunit-versions - To run composer :
bin/composer installORbin/composer update
rollbar/rollbar-laravel 适用场景与选型建议
rollbar/rollbar-laravel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10.81M 次下载、GitHub Stars 达 141, 最近一次更新时间为 2017 年 05 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「logging」 「error」 「monitoring」 「laravel」 「rollbar」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rollbar/rollbar-laravel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rollbar/rollbar-laravel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rollbar/rollbar-laravel 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Symfony bundle for chameleon-system/sanitycheck
A Zend Framework module that sets up Monolog for logging in applications.
SoftWax Health Check Bundle for Symfony framework
1Pilot client for Symfony
Statsd (Object Oriented) client library for PHP
Asynchronous Sentry for Symfony - Fire and forget
统计信息
- 总下载量: 10.81M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 144
- 点击次数: 23
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-15