【文件属性】:
文件名称:cake-sentry:用于Sentry的CakePHP插件集成
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-15 23:43:33
psr-3 cakephp3 cakephp-plugin cakephp4 PHP
CakePHP Sentry插件
用于Sentry的CakePHP集成。
要求
PHP 7.2以上
CakePHP 4.0以上
和帐户
:light_bulb: 对于CakePHP3.x,请使用。
安装
使用composer安装。
composer require connehito/cake-sentry:^3.0
用法
设置配置文件。
写下您的哨兵帐户信息。
// in `config/app.php`
return [
'Sentry' => [
'dsn' => YOUR_SENTRY_DSN_HERE
]
];
正在加载插件。
在Application.php中
public function bootstrap ()
{
parent :: bootstrap ();
$ this -> addPlugin (\ Connehito \ CakeSen
【文件预览】:
cake-sentry-master
----composer.json(1KB)
----config()
--------bootstrap.php(770B)
----.github()
--------workflows()
----LICENSE(1KB)
----src()
--------Http()
--------Log()
--------Plugin.php(103B)
--------Error()
----README.md(6KB)