PHPackages                             che/log-stock - 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. che/log-stock

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

che/log-stock
=============

Static Logger Manager

1.0.0(13y ago)244.8k1MITPHPPHP &gt;=5.3.2

Since Mar 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/chEbba/LogStock)[ Packagist](https://packagist.org/packages/che/log-stock)[ Docs](http://github.com/chEbba/LogStock)[ RSS](/packages/che-log-stock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (1)

LogStock - Static Logger Manager [![Build Status](https://camo.githubusercontent.com/657b46e29b5d59c587bd8eb68a1143f11a2af81430732c229c3d39dff9e1b632/68747470733a2f2f7472617669732d63692e6f72672f6368456262612f4c6f6753746f636b2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/chEbba/LogStock)
=============================================================================================================================================================================================================================================================================================================

[](#logstock---static-logger-manager-)

Logging functionality is required in all classes, so it is one of situations where static code is a good choice. Now you can create more logs with your preferred logging library.

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

[](#installation)

[Composer package](http://packagist.org/packages/che/log-stock "che/log-stock") is available.

Or just clone the repository (or download versions by tags) and include the library with PSR-0 autoloader.

Usage
-----

[](#usage)

```
namespace Acme\Foo;

use Che\LogStock\LoggerManager;

class Bar
{
    private $logger;

    public function __construct()
    {
        $this->logger = LoggerManager::getLogger(__CLASS__);
    }

    public function doSomething($param)
    {
        $this->logger->info('Do something.', array('param' => $param));
        //...
    }
}

```

Integration
-----------

[](#integration)

- Symfony2 - [LogStockBundle](https://github.com/chEbba/LogStockBundle).

Author
------

[](#author)

Kirill chEbba Chebunin .

License
-------

[](#license)

LogStock is subject to the MIT license that is bundled with this package in the file LICENSE.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

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

Total

4

Last Release

4599d ago

### Community

Maintainers

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

---

Top Contributors

[![chEbba](https://avatars.githubusercontent.com/u/558042?v=4)](https://github.com/chEbba "chEbba (57 commits)")

---

Tags

loglogginglogger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/che-log-stock/health.svg)

```
[![Health](https://phpackages.com/badges/che-log-stock/health.svg)](https://phpackages.com/packages/che-log-stock)
```

###  Alternatives

[analog/analog

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

3451.5M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.0M18](/packages/apix-log)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[dakatsuka/monolog-fluent-handler

Fluentd Handler for Monolog

12480.5k](/packages/dakatsuka-monolog-fluent-handler)

PHPackages © 2026

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