autoflow/securephp
Composer 安装命令:
composer require autoflow/securephp
包简介
SecurePHP - error mailer and reporting library
README 文档
README
Provides:
-
predefined reports based on exceptions
- error tickets
- config errors
- batch reports
- info & notice reports
- warning report
- init error reports
- success reports
- timer alerts & reminders
- transaction & transition reports
- uncaught exception reports
- [..]
- easily sent by email, to STDERR or to log
- available in different translations
-
- send to admin
- send to users
- send to cc
-
treat E_NOTICE's as E_ERROR's (strict mode)
- catch type conversion errors
- catch undefined variables, indexes and offsets
- […]
-
catch recurring errors
- inform about repetitives errors (ie. every 30 minutes)
- optimized for cronjobs
-
- handle errors as PHP does
-
EOF detection
-
user defined shutdown function
Usage
include secure.php in your project and get a fresh instance ..
require_once('vendor/autoflow/securephp/secure.php'); $mysecure = AUTOFLOW\SECUREPHP\BOOTSTRAP::getInstance();
Composer
If you want to install with composer,
{
"require":
{
"autoflow/securephp": "^2.0.0"
}
}
and require autoload.php and get a new instance ..
require('vendor/autoload.php'); $mysecure = AUTOFLOW\SECUREPHP\BOOTSTRAP::getInstance();
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-25