-
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
include secure.php in your project and get a fresh instance ..
require_once('vendor/autoflow/securephp/secure.php');
$mysecure = AUTOFLOW\SECUREPHP\BOOTSTRAP::getInstance();
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();