PHPackages                             phpfacile/event-json - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpfacile/event-json

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpfacile/event-json
====================

This service basically perform a mapping between an event retrieved from a database as an array to an event as an array that will be easily transformed (using json\_encode()) in a target JSON string formatted as expected.

1.0.0(7y ago)0382MITPHPPHP &gt;=7.0.0

Since Nov 7Pushed 7y agoCompare

[ Source](https://github.com/phpfacile/event-json)[ Packagist](https://packagist.org/packages/phpfacile/event-json)[ Docs](https://github.com/phpfacile/event-json)[ RSS](/packages/phpfacile-event-json/feed)WikiDiscussions master Synced today

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

PHPFacile! Event-json
=====================

[](#phpfacile-event-json)

This service basically perform a mapping between an event retrieved from a database as an array to an event as an array that will be easily transformed (using json\_encode()) in a target JSON string formatted as expected. It is a default implementation and is expected to be overwritten by the final user.

This is part of the phpfacile/event suite.

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

[](#installation)

At the root of your project type

```
composer require phpfacile/event-json

```

Or add "phpfacile/event-json": "^1.0" to the "require" part of your composer.json file

```
"require": {
    "phpfacile/event-json": "^1.0"
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

2741d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d6240c88e9505e69bf9ddcd371244851f480013df9c71c496c8d0fcd6de5357?d=identicon)[phpfacile](/maintainers/phpfacile)

---

Tags

jsonevent

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/phpfacile-event-json/health.svg)

```
[![Health](https://phpackages.com/badges/phpfacile-event-json/health.svg)](https://phpackages.com/packages/phpfacile-event-json)
```

###  Alternatives

[doctrine/event-manager

The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.

6.1k501.1M115](/packages/doctrine-event-manager)[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[league/event

Event package

1.6k141.6M184](/packages/league-event)[laminas/laminas-eventmanager

Trigger and listen to events within a PHP application

1.0k69.8M225](/packages/laminas-laminas-eventmanager)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[kigkonsult/icalcreator

iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information

2462.6M16](/packages/kigkonsult-icalcreator)

PHPackages © 2026

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