cakephp-biztech/cake-rollbar
Composer 安装命令:
composer require cakephp-biztech/cake-rollbar
包简介
CakePHP plugin integration for Rollbar
README 文档
README
CakePHP plugin integration for Rollbar error tracking tool.
Requirements
- CakePHP 3.5 or greater
- PHP 5.6 or greater
- And Rollbar account
Installation
-
You can install this plugin into your CakePHP application using composer
composer require cakephp-biztech/cake-rollbar -
After installation, load the plugin
// src/Application.php Plugin::load('CakeRollbar');
Or, you can load the plugin using the shell command:
bin/cake plugin load CakeRollbar
Setup
Create a new Rollbar project and get post_server_item access token by going to your project's settings. And set below config array into your config/app.php file.
// config/app.php return [ 'Rollbar' => [ 'access_token' => env('ROLLBAR_POST_SERVER_ITEM_ACCESS_TOKEN', null), 'environment' => env('APP_ENV'), ] ];
All set! 🎉
This plugin will capture and send all the notices, errors, exceptions, etc. to Rollbar for you to solve them.
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-04