PHPackages                             ingenerator/kohana-logger - 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. ingenerator/kohana-logger

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

ingenerator/kohana-logger
=========================

Provides PSR-compatible logging and logging enhancements for Kohana

v1.0.0(7y ago)08BSD-3-ClausePHPPHP ^7.2

Since Apr 3Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ingenerator/kohana-logger)[ Packagist](https://packagist.org/packages/ingenerator/kohana-logger)[ Docs](https://github.com/ingenerator/kohana-logger)[ RSS](/packages/ingenerator-kohana-logger/feed)WikiDiscussions master Synced 3w ago

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

KohanaLogger - Provides PSR-compatible logging and logging enhancements for Kohana
==================================================================================

[](#kohanalogger---provides-psr-compatible-logging-and-logging-enhancements-for-kohana)

- [![Master Build Status](https://camo.githubusercontent.com/a7a859e43db57b11fe84a0731c5471eb0c31814dbcf431a519cdbd8ce79d3ed8/68747470733a2f2f7472617669732d63692e6f72672f696e67656e657261746f722f6b6f68616e612d6c6f676765722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/ingenerator/kohana-logger)

KohanaLogger is a small set of classes that provides a PSR-3 compatible interface to the standard Kohana log, and a few extra logging utility classes.

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

[](#installation)

Add config to your composer.json and run `composer update` to install it.

```
{
  "require": { "ingenerator/kohana-logger": "0.1.*@dev" }
}
```

In your bootstrap:

```
/**
 * Enable the composer autoloader
 */
require_once(__DIR__.'/../vendor/autoload.php');
```

Basic Usage
-----------

[](#basic-usage)

This package is not designed to support kohana-style transparent extension - classes will be loaded by the composer autoloader. If you want to extend the provided classes, we recommend the use of a [service container](https://github.com/zeelot/kohana-dependencies).

To inject the standard Kohana log to a class that takes a PSR3 log instance:

```
$instance = new ThirdPartyClass(new Ingenerator\KohanaLogger\KohanaLogger);

```

By default the class attaches to the global Kohana::$log, but you can provide an instance to attach to if required.

Testing and developing
----------------------

[](#testing-and-developing)

kohana-loggers has a full suite of [PhpSpec](http://phpspec.net) specifications. You'll need a skeleton Kohana application to run them, you can use [koharness](https://github.com/ingenerator/koharness) to create one. See [travis.yml](travis.yml) for the build steps required.

Contributions will only be accepted if they are accompanied by well structured specs. Installing with composer should get you everything you need to work on the project.

License
-------

[](#license)

kohana-logger is copyright 2014 inGenerator Ltd and released under the [BSD license](LICENSE).

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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

Unknown

Total

1

Last Release

2649d ago

### Community

Maintainers

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

---

Top Contributors

[![acoulton](https://avatars.githubusercontent.com/u/416566?v=4)](https://github.com/acoulton "acoulton (7 commits)")[![craig410](https://avatars.githubusercontent.com/u/1156379?v=4)](https://github.com/craig410 "craig410 (6 commits)")

---

Tags

kohana

### Embed Badge

![Health badge](/badges/ingenerator-kohana-logger/health.svg)

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

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k247.1M335](/packages/sentry-sentry)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M625](/packages/illuminate-log)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M219](/packages/api-platform-metadata)

PHPackages © 2026

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