PHPackages                             autoflow/securephp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. autoflow/securephp

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

autoflow/securephp
==================

SecurePHP - error mailer and reporting library

v2.1.0(8y ago)09MITPHPPHP ^5.3.3

Since Jul 25Pushed 8y agoCompare

[ Source](https://github.com/Autoflow/SecurePHP)[ Packagist](https://packagist.org/packages/autoflow/securephp)[ Docs](https://github.com/Autoflow/SecurePHP)[ RSS](/packages/autoflow-securephp/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

SecurePHP - exception mailer and reporting library
--------------------------------------------------

[](#securephp---exception-mailer-and-reporting-library)

### Provides:

[](#provides)

- [secure runtime mode](doc/default.md)
- predefined reports based on exceptions

    - [error tickets](doc/errorticket.md)
    - [config errors](doc/configerror.md)
    - [batch reports](doc/batchreport.md)
    - [info &amp; notice reports](doc/inforeports.md)
    - [warning report](doc/warningreports.md)
    - [init error reports](doc/initerror.md)
    - [success reports](doc/successreport.md)
    - [timer alerts &amp; reminders](doc/timeout.md)
    - [transaction &amp; transition reports](doc/execution_errors.md)
    - [uncaught exception reports](doc/uncaught.md)
    - \[..\]
    - easily sent by [email](doc/email_basisc.md), to STDERR or to log
    - available in different translations
- [send reports to email inboxes](doc/email_basisc.md)

    - send to admin
    - send to users
    - send to cc
- treat E\_NOTICE's as E\_ERROR's ([strict mode](doc/strict.md))

    - catch type conversion errors
    - [catch undefined variables, indexes and offsets](doc/e_notice.md)
    - \[…\]
- catch recurring errors

    - [inform about repetitives errors](doc/timeout.md) (ie. every 30 minutes)
    - optimized for cronjobs
- [loose mode](doc/loose.md)

    - handle errors as PHP does
- EOF detection

    - [get informed when PHP doesn't reach the end of file](doc/eof.md)
- user defined shutdown function

    - [set your own shutdown function](doc/shutdown_function.md)

Usage
-----

[](#usage)

include secure.php in your project and get a fresh [instance](doc/init.md) ..

```
require_once('vendor/autoflow/securephp/secure.php');
$mysecure = AUTOFLOW\SECUREPHP\BOOTSTRAP::getInstance();
```

### Composer

[](#composer)

If you want to install with composer,

```
{
"require":
  {
  "autoflow/securephp": "^2.0.0"
  }
}
```

and require autoload.php and get a new [instance](doc/init.md) ..

```
require('vendor/autoload.php');
$mysecure = AUTOFLOW\SECUREPHP\BOOTSTRAP::getInstance();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

2

Last Release

3209d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96bf281afc87e1e63f087da73e764d8fbe5c29df206c7da367511b5dcc81044f?d=identicon)[autoflow](/maintainers/autoflow)

---

Top Contributors

[![Autoflow](https://avatars.githubusercontent.com/u/17009576?v=4)](https://github.com/Autoflow "Autoflow (151 commits)")

---

Tags

logerrormailersecure

### Embed Badge

![Health badge](/badges/autoflow-securephp/health.svg)

```
[![Health](https://phpackages.com/badges/autoflow-securephp/health.svg)](https://phpackages.com/packages/autoflow-securephp)
```

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

27025.0k](/packages/saasscaleup-laravel-log-alarm)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[baibaratsky/yii2-rollbar

Rollbar for Yii2

35130.5k](/packages/baibaratsky-yii2-rollbar)[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

19372.5k](/packages/facile-it-sentry-module)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
