PHPackages                             aboutcoders/logger-bundle - 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. aboutcoders/logger-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

aboutcoders/logger-bundle
=========================

A symfony bundle to log messages from external applications over a REST API

1.2.1(7y ago)41.1k1MITPHPPHP &gt;=5.4.0

Since May 2Pushed 7y ago2 watchersCompare

[ Source](https://github.com/aboutcoders/logger-bundle)[ Packagist](https://packagist.org/packages/aboutcoders/logger-bundle)[ Docs](http://aboutcoders.com)[ RSS](/packages/aboutcoders-logger-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (6)Versions (5)Used By (0)

AbcLoggerBundle
===============

[](#abcloggerbundle)

A symfony bundle that provides a REST-API to log messages from external client applications.

Build Status: [![Build Status](https://camo.githubusercontent.com/24effee08bfb3b0ef196b861fa54dd309db095c2c812c187c716585fb7b2dd3c/68747470733a2f2f7472617669732d63692e6f72672f61626f7574636f646572732f6c6f676765722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aboutcoders/logger-bundle)

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

[](#installation)

Follow the installation instructions of the required third party bundles:

- [SensioFrameworkExtraBundle](http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html)
- [NelmioApiDocBundle](https://github.com/nelmio/NelmioApiDocBundle)
- [FOSRestBundle](https://github.com/FriendsOfSymfony/FOSRestBundle)

Add the AbcLoggerBundle to your `composer.json` file

```
{
    "require": {
        "aboutcoders/logger-bundle": "~1.0"
    }
}
```

Include the bundle in the AppKernel.php class

```
public function registerBundles()
{
    $bundles = array(
        // ...
        new Abc\Bundle\LoggerBundle\AbcLoggerBundle(),
    );

    return $bundles;
}
```

Import the routing files

```
abc-rest-logger:
    type: rest
    resource: "@AbcLoggerBundle/Resources/config/routing/rest.yml"
    prefix: /api
```

Configuration
-------------

[](#configuration)

All you need to do is define the names of the applications which are allowed to log and configure the Monolog logging channel to use for each of them. Please refer to the [offical symfony documentation](http://symfony.com/doc/current/cookbook/logging/channels_handlers.html) on how-to define custom channels or log to different files.

```
abc_logger:
    applications:
        my_application:
            channel: my_channel
```

Usage
-----

[](#usage)

With the above configuration example you can now post log entries to the following url: [http://localhost/api/log/my\_application](http://localhost/api/log/my_application)

The request body must contain the following parameters:

- `level`: The log level \[emergency|alert|critical|error|warning|notice|info|debug\]
- `message`: The log message
- `context`: Optional, an array of context data as defined by [Monolog](https://github.com/Seldaek/monolog)

Please refer to the API documentation that can be generated with the [NelmioApiDocBundle](https://github.com/nelmio/NelmioApiDocBundle) to get more detailed information about the API method.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2833d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11329553?v=4)[AboutCoders](/maintainers/aboutcoders)[@aboutcoders](https://github.com/aboutcoders)

---

Top Contributors

[![hrba](https://avatars.githubusercontent.com/u/2995275?v=4)](https://github.com/hrba "hrba (5 commits)")

---

Tags

logclientbundlerestlogger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aboutcoders-logger-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/aboutcoders-logger-bundle/health.svg)](https://phpackages.com/packages/aboutcoders-logger-bundle)
```

###  Alternatives

[eightpoints/guzzle-bundle

Integrates Guzzle 6.x, a PHP HTTP Client, into Symfony. Comes with easy and powerful configuration options and optional plugins.

45912.1M55](/packages/eightpoints-guzzle-bundle)[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

11259.2k](/packages/e-moe-guzzle6-bundle)[xabbuh/panda-bundle

integration of the Panda encoding services into the Symfony2 Framework

10174.6k](/packages/xabbuh-panda-bundle)[aboutcoders/job-bundle

A symfony bundle for asynchronous job processing.

2618.0k1](/packages/aboutcoders-job-bundle)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)

PHPackages © 2026

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