PHPackages                             evaldobarbosa/charon - 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. [Database &amp; ORM](/categories/database)
4. /
5. evaldobarbosa/charon

ActiveLibrary[Database &amp; ORM](/categories/database)

evaldobarbosa/charon
====================

A little ORM with a simple syntax

0.5.1(11y ago)31122LGPL-3.0PHPPHP &gt;=5.3

Since May 23Pushed 10y ago2 watchersCompare

[ Source](https://github.com/evaldobarbosa/charon)[ Packagist](https://packagist.org/packages/evaldobarbosa/charon)[ Docs](https://github.com/evaldobarbosa/charon)[ RSS](/packages/evaldobarbosa-charon/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Charon
======

[](#charon)

Is a tool created to retrieve data to your project from database. This is like any other ORM.

With Charon you will:
---------------------

[](#with-charon-you-will)

- Create simple classes using annotations
- Load data with your classes
- Use semantic filters
- Get JSON without NoSQL

Composer:
---------

[](#composer)

```
require: {
	"evaldobarbosa/charon": "0.5.1"
}
```

Usage:
------

[](#usage)

$conn = new PDO('your\_dsn');

$dl = new Charon\\Loader( $conn );

Filtering post with your tags and related author
------------------------------------------------

[](#filtering-post-with-your-tags-and-related-author)

```
$dl->load('YourNamespace\Post')
  ->join('tags->tag')
  ->join('author')
  ->equal('post->id',999);
```

Choosing output format
----------------------

[](#choosing-output-format)

Using PHP Objects based on classes that you wrote

```
  $rs = $dl->get();
```

Using json

```
  $rs = $dl->get(true);
```

Example
-------

[](#example)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

2

Last Release

4359d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ee3bb5089ef4bd93b6427c09f6a9cf2bc6841836bba257bba25fda6a7f11637?d=identicon)[evaldobarbosa](/maintainers/evaldobarbosa)

---

Top Contributors

[![evaldobarbosa](https://avatars.githubusercontent.com/u/588455?v=4)](https://github.com/evaldobarbosa "evaldobarbosa (63 commits)")

---

Tags

jsondatabaseormentity

### Embed Badge

![Health badge](/badges/evaldobarbosa-charon/health.svg)

```
[![Health](https://phpackages.com/badges/evaldobarbosa-charon/health.svg)](https://phpackages.com/packages/evaldobarbosa-charon)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[dunglas/doctrine-json-odm

An object document mapper for Doctrine ORM using JSON types of modern RDBMS.

6285.0M10](/packages/dunglas-doctrine-json-odm)[liqueurdetoile/cakephp-orm-json

Cakephp plugin to provide easy control over JSON type fields in database

1461.1k](/packages/liqueurdetoile-cakephp-orm-json)[indaxia/doctrine-orm-transformations

Provides JSON-ready Doctrine ORM Entity-Array transfomtaions

1296.4k](/packages/indaxia-doctrine-orm-transformations)[goodwix/doctrine-json-odm

JSON Object-Document Mapping bundle for Symfony and Doctrine

2226.0k](/packages/goodwix-doctrine-json-odm)[andsalves/doctrine-elastic

Elasticsearch Doctrine Adaptation

156.6k](/packages/andsalves-doctrine-elastic)

PHPackages © 2026

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