承接 makinacorpus/event-store 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

makinacorpus/event-store

最新稳定版本:1.0.8

Composer 安装命令:

composer require makinacorpus/event-store

包简介

Simple event store implementation

README 文档

README

Opiniated event store implementation in PHP over PostgreSQL.

Please note that it is built over makinacorpus/goat-query SQL query builder and database connector. Any driver that supports PostgreSQL RETURNING clause equivalent will work.

Setup

First of all, install this package:

composer install makinacorpus/event-store

It is also recommended to chose an UUID implementation:

composer install ramsey/uuid

Or:

composer install symfony/uid

My favorite remains ramsey/uuid.

Symfony

Start by installing the makinacorpus/goat-query-bundle Symfony bundle:

composer install makinacorpus/goat-query-bundle

And configure it as documented.

Then register the bundle into your config/bundles.php file:

<?php

return [
    // ... Your other bundles.
    MakinaCorpus\EventStore\Bridge\Symfony\EventStoreBundle::class => ['all' => true],
];

Standalone

This is not documented yet, but basically only thing you need to do is to create an instance implementing EventStore.

Usage

This is not documented yet.

Status

For now this is alpha quality. It was just exported from deprecated legacy makinacorpus/goat package and need some beta-testing.

Nevertheless, you should now this code is running in production on many projects for many years.

Run tests

A docker environement with various containers for various PHP versions is present in the sys/ folder. For tests to work in all PHP versions, you need to run composer update --prefer-lowest in case of any failure.

composer install
composer update --prefer-lowest
cd sys/
./docker-rebuild.sh # Run this only once
./docker-run.sh

Additionnaly generate coverage report:

./docker-coverage.sh

HTML coverage report will be generated in coverage folder.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2022-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固