定制 lcefr/postgresql-json-repository 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lcefr/postgresql-json-repository

Composer 安装命令:

composer require lcefr/postgresql-json-repository

包简介

A Domain Driven Design repository for stroring json aggregate with postgresql

README 文档

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

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-27