autoflow / securephp
SecurePHP - error mailer and reporting library
v2.1.0
2017-08-01 14:03 UTC
Requires
- php: ^5.3.3
This package is not auto-updated.
Last update: 2024-03-26 00:02:54 UTC
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();