PHPackages                             sakydev/monolog-httpapi - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. sakydev/monolog-httpapi

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

sakydev/monolog-httpapi
=======================

A handler for Monolog that sends messages to external API

v2.0.4(3y ago)240MITPHPPHP &gt;=7.0 || &gt;=8.0

Since May 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sakydev/monolog-httpapi)[ Packagist](https://packagist.org/packages/sakydev/monolog-httpapi)[ Docs](https://github.com/sakydev/monolog-httpapi)[ RSS](/packages/sakydev-monolog-httpapi/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

monolog-httpapi
===============

[](#monolog-httpapi)

HTTP API Handler for php monolog which allows you to log messages into external API of your choice.

Installation
============

[](#installation)

---

Install using composer:

```
composer require sakydev/monolog-httpapi
```

Usage
=====

[](#usage)

TODO

Examples
========

[](#examples)

Now Simply use it like this :

```
require 'vendor/autoload.php';
use Monolog\Logger;
use sakydev\HttpApiHandler\HttpApiHandler;
$log = new Logger('HttpApiHandler');
$channel = 'default-channel';
$headers = ['Content-Type: application/json'];
$log->pushHandler(new HttpApiHandler('http://url-here.com', $channel, $headers));

$log->notice('hello world !');
$log->info('hello world !');
$log->debug('hello world !');
$log->warning('hello world !');
$log->critical('hello world !');
$log->alert('hello world !');
$log->emergency('hello world !');
$log->error('hello world !');

/**
* Optionally you can pass second paramater such as a object
**/
$log->info('user just logged in !',['user'=>$user]);
```

License
=======

[](#license)

This tool in Licensed under MIT, so feel free to fork it and make it better than it is !

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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 ~0 days

Total

7

Last Release

1451d ago

Major Versions

v1.0.1 → v2.0.02022-05-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/befe801aab8969d44ee980f041c6f8603d62e8cb9b98d98f3095095cf5624ef0?d=identicon)[sakydev](/maintainers/sakydev)

---

Top Contributors

[![sakydev](https://avatars.githubusercontent.com/u/10042555?v=4)](https://github.com/sakydev "sakydev (1 commits)")

---

Tags

httplogloggingmonologchannelsbotsmonolog-httpapi

### Embed Badge

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

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

###  Alternatives

[rahimi/monolog-telegram

A handler for Monolog that sends messages to Telegram Channels

6980.2k](/packages/rahimi-monolog-telegram)[thecoder/laravel-monolog-telegram

Telegram Handler for Monolog

2939.5k](/packages/thecoder-laravel-monolog-telegram)[wazaari/monolog-mysql

A handler for Monolog that sends messages to MySQL

140884.1k6](/packages/wazaari-monolog-mysql)[hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

76410.4k1](/packages/hannesvdvreken-guzzle-debugbar)[onlime/laravel-http-client-global-logger

A global logger for the Laravel HTTP Client

1935.1k](/packages/onlime-laravel-http-client-global-logger)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)

PHPackages © 2026

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