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)011.2k↓66.7%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 yesterday

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 69% 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

2099d ago

Major Versions

v1.1.0 → v2.0.02019-10-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1007459?v=4)[Chris](/maintainers/chrisullyott)[@chrisullyott](https://github.com/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.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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