PHPackages                             sms77/monolog - 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. sms77/monolog

Abandoned → [seven.io/monolog](/?search=seven.io%2Fmonolog)Library[Logging &amp; Monitoring](/categories/logging)

sms77/monolog
=============

A Monolog Handler for sending SMS via seven

0.1.0(4y ago)00MITPHPPHP &gt;=5.6CI failing

Since Jun 9Pushed 2w ago1 watchersCompare

[ Source](https://github.com/seven-io/monolog)[ Packagist](https://packagist.org/packages/sms77/monolog)[ Docs](https://github.com/sms77io/monolog)[ RSS](/packages/sms77-monolog/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

 [![seven logo](https://camo.githubusercontent.com/b4669bbc8fd3ead5911fb6525c456c6d2cff4957f29012d27b677a4da0a5efee/68747470733a2f2f7777772e736576656e2e696f2f77702d636f6e74656e742f75706c6f6164732f4c6f676f2e737667)](https://camo.githubusercontent.com/b4669bbc8fd3ead5911fb6525c456c6d2cff4957f29012d27b677a4da0a5efee/68747470733a2f2f7777772e736576656e2e696f2f77702d636f6e74656e742f75706c6f6164732f4c6f676f2e737667)

seven Handler for Monolog
=========================

[](#seven-handler-for-monolog)

 Forward [Monolog](https://github.com/Seldaek/monolog) log entries as SMS or text-to-speech calls via the seven gateway.

 [![MIT License](https://camo.githubusercontent.com/e19d32ddd0fe35c406741f25b9b857f291780424f61b66afa7f884354256b8ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d7465616c2e737667)](LICENSE) [![Monolog 2 | 3](https://camo.githubusercontent.com/171ea97c635bd93c6fc63b2f8e1b4f1369eee87a38f3dbf67a7203a2e44cecf1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6e6f6c6f672d322532307c253230332d626c7565)](https://camo.githubusercontent.com/171ea97c635bd93c6fc63b2f8e1b4f1369eee87a38f3dbf67a7203a2e44cecf1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6e6f6c6f672d322532307c253230332d626c7565) [![PHP 7.2+](https://camo.githubusercontent.com/748f848c922bc2e62df0b57c97e1066d006e4a103cb801b27ed548b1deb5572a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322532422d707572706c65)](https://camo.githubusercontent.com/748f848c922bc2e62df0b57c97e1066d006e4a103cb801b27ed548b1deb5572a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322532422d707572706c65) [![Packagist](https://camo.githubusercontent.com/58fd3356878797d051165133c64e1d3662548d5e533dbbe91cb648d1a241b9c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736576656e2e696f2f6d6f6e6f6c6f67)](https://packagist.org/packages/seven.io/monolog)

---

Features
--------

[](#features)

- **Monolog Handler** - Drop-in handler for any Monolog logger instance
- **SMS or Voice** - Choose between SMS and text-to-speech for the log channel

Prerequisites
-------------

[](#prerequisites)

- PHP 7.2+
- A [seven account](https://www.seven.io/) with API key ([How to get your API key](https://help.seven.io/en/developer/where-do-i-find-my-api-key))

Installation
------------

[](#installation)

```
composer require seven.io/monolog
```

Usage
-----

[](#usage)

```
use Seven\Monolog\Config;
use Seven\Monolog\Handler;
use Monolog\Logger;

$apiKey = getenv('SEVEN_API_KEY');
$logger = new Logger('demo');

// Forward WARNING-and-above entries as SMS
$cfg = new Config([
    'apiKey'     => $apiKey,
    'from'       => 'Logger',
    'recipients' => '+491234567890',
]);

$logger->pushHandler(new Handler($cfg, Logger::WARNING));
$logger->warning('Something is wrong!');
```

Switch the channel to voice by setting `type` to `voice` in the `Config`.

Support
-------

[](#support)

Need help? Feel free to [contact us](https://www.seven.io/en/company/contact/) or [open an issue](https://github.com/seven-io/monolog/issues).

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance63

Regular maintenance activity

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88% 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 ~280 days

Total

2

Last Release

1523d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2630735456c80aab26c3c9c05b7de0528601df89fdc587ae0b428458e251b59a?d=identicon)[matthiez](/maintainers/matthiez)

---

Top Contributors

[![matthiez](https://avatars.githubusercontent.com/u/12965261?v=4)](https://github.com/matthiez "matthiez (22 commits)")[![cl77](https://avatars.githubusercontent.com/u/33660027?v=4)](https://github.com/cl77 "cl77 (3 commits)")

---

Tags

monologmonolog-handlerseven-pluginsmssms-apismshandlermonologsms77

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sms77-monolog/health.svg)

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

###  Alternatives

[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[nikolaposa/monolog-factory

Configuration-based Monolog factory

25226.9k2](/packages/nikolaposa-monolog-factory)

PHPackages © 2026

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