lcefr/postgresql-json-repository

A Domain Driven Design repository for stroring json aggregate with postgresql

Maintainers

Package info

github.com/lce-fr/php-postgresql-repository

Homepage

Issues

pkg:composer/lcefr/postgresql-json-repository

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 2

dev-master 2015-09-02 17:37 UTC

This package is not auto-updated.

Last update: 2026-03-29 02:01:17 UTC


README

A php postgresql repository for domain driven development

##Installation

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

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

cd vendor/lcefr/postgresql-json-repository && ./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