PHPackages                             chrisullyott/php-log - 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. chrisullyott/php-log

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

chrisullyott/php-log
====================

A dead-simple logger, storing data in JSON.

v2.0.2(5y ago)010.5k↓47.4%1MITPHPPHP &gt;=5.6.0CI failing

Since Jul 23Pushed 5y agoCompare

[ Source](https://github.com/chrisullyott/php-log)[ Packagist](https://packagist.org/packages/chrisullyott/php-log)[ Docs](https://github.com/chrisullyott/php-log)[ RSS](/packages/chrisullyott-php-log/feed)WikiDiscussions master Synced 1mo ago

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

php-log
=======

[](#php-log)

A dead-simple logger, storing data in JSON.

### Install

[](#install)

With Composer:

```
$ composer require chrisullyott/php-log
```

### Instantiate

[](#instantiate)

Set a path for the file.

```
$log = new ChrisUllyott\Log('data.json');
```

### Adding items

[](#adding-items)

**set** to store data by key:

```
$log->set('color', 'teal');
```

### Retrieving items

[](#retrieving-items)

**get** an item by key:

```
$log->get('color');
```

### Deleting items

[](#deleting-items)

**delete** an item by key:

```
$log->delete('key');
```

**reset** to delete the entire database:

```
$log->reset();
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2054d ago

Major Versions

v1.1.0 → v2.0.02019-10-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/6bbd75614cbb5b6d8c4e21a6564cb67f3d403532be5c02859f1078c087a35f74?d=identicon)[chrisullyott](/maintainers/chrisullyott)

---

Top Contributors

[![chrisullyott](https://avatars.githubusercontent.com/u/1007459?v=4)](https://github.com/chrisullyott "chrisullyott (17 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chrisullyott-php-log/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

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