PHPackages                             lcefr/postgresql-json-repository - 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. lcefr/postgresql-json-repository

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

lcefr/postgresql-json-repository
================================

A Domain Driven Design repository for stroring json aggregate with postgresql

211PHP

Since Sep 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/lce-fr/php-postgresql-repository)[ Packagist](https://packagist.org/packages/lcefr/postgresql-json-repository)[ RSS](/packages/lcefr-postgresql-json-repository/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-postgresql-repository
=========================

[](#php-postgresql-repository)

A php postgresql repository for domain driven development

\##Installation

composer require lcefr/postgresql-json-repository dev-master

Usage
-----

[](#usage)

Each aggreagate is fully stored in a jsonb data column.

Extends AbstractPostgreSqlRepository and implement getTableName method.

Depending on your serializer you might want to override serialize method.

Tests
-----

[](#tests)

cd vendor/lcefr/postgresql-json-repository &amp;&amp; ./test.sh

Testing workflow can be improved, please tell me how:

- How to wait that the postgresql server is setup before running test container
- How to only run once "composer update" to increase testing speed.

\##Contributing

Fork, add, Test and pull request

Your help and suggestions are REALLY welcome.

\##Licence

MIT

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/232ecfd49aee344f3c7da9858813343506bed655289f387cd361bdb609deb5be?d=identicon)[lce-fr](/maintainers/lce-fr)

---

Top Contributors

[![lcetinsoy](https://avatars.githubusercontent.com/u/3206840?v=4)](https://github.com/lcetinsoy "lcetinsoy (33 commits)")

### Embed Badge

![Health badge](/badges/lcefr-postgresql-json-repository/health.svg)

```
[![Health](https://phpackages.com/badges/lcefr-postgresql-json-repository/health.svg)](https://phpackages.com/packages/lcefr-postgresql-json-repository)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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