2017 © Pedro Peláez
 

library eidetic

CQRS and EventSourcing package for php >= 5.5

image

rawkode/eidetic

CQRS and EventSourcing package for php >= 5.5

  • Thursday, October 20, 2016
  • by rawkode
  • Repository
  • 2 Watchers
  • 15 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Eidetic

Warning: Unlikely to be updated anytime soon due to time restraints, (*1)

Software License Latest Version Build Status Quality Score, (*2)

SensioLabsInsight, (*3)


Eidetic is a CQRS and EventSourcing library for php >= 5.5, (*4)

Extremely Alpha

Please do not use this library for anything important - it's purely for fun, (*5)

Why not Broadway?

Yes - I've seen Broadway and it's a fantastic package, but it wasn't for me., (*6)

  • I should be able to use an EventStore / EventSourcing without committing to DDD (Not all projects suit!)
    • Even if it's just avoiding the vocabulary
    • I don't always want to use the Aggregate pattern
  • I prefer composition over inheritance:
    • I don't really want to use inheritance for my entities
    • I really don't want to use inheritance for my events

This package should allow people to dip their toe in the waters and allow them to consider if using reactive / event based systems will work for them; even if that's simply setting up an EventStore to provide a basic audit trail for a legacy application. Take it slow, get your feet wet - then dive right in! :), (*7)

Status

Eidetic is currently under initial development. The aim is to provide helpers that allow you to implement CQRS and EventSourcing in your application., (*8)

  • CQRS, (*9)

    • Write model repositories
    • Event Store
  • Event Stores, (*10)

    • InMemory
    • Doctrine DBAL
  • Event Subscribers, (*11)

    • Symfony2 Event Dispatcher

Examples

Examples can be found inside usr/share/doc/example, (*12)

Installation

composer require rawkode/eidetic, (*13)

Sorry! As this is extremely experimental at the moment, please use dev-master., (*14)

Tests

Testing with local version of php

bin/phpunit
bin/phpspec run --format=pretty

Testing with Docker

docker-compose up testing-php-5.5
docker-compose up testing-php-5.6
docker-compose up testing-php-7.0

Extra Testing?

docker-compose up testing-database-mysql
docker-compose up testing-database-postgres

If you're having problems with these tests, it's because we can't tell Docker Compose that we need the database servers up and running before running our test application and you might be subject to the race condition. Until Docker Compose has a solution for this, simply boot the database first:, (*15)

docker-compose up -d mysql
docker-compose up -d postgres

Contributing

Please see CONTRIBUTING for details., (*16)

The Versions

20/10 2016

dev-master

9999999-dev

CQRS and EventSourcing package for php >= 5.5

  Sources   Download

MIT

The Requires

 

The Development Requires

by David McKay

cqrs eventsourcing eventstore

19/10 2016

dev-rawkode-patch-1

dev-rawkode-patch-1

CQRS and EventSourcing package for php >= 5.5

  Sources   Download

MIT

The Requires

 

The Development Requires

by David McKay

cqrs eventsourcing eventstore

18/12 2015

dev-fix/composer-version-issues

dev-fix/composer-version-issues

CQRS and EventSourcing package for php >= 5.5

  Sources   Download

MIT

The Requires

 

The Development Requires

by David McKay

cqrs eventsourcing eventstore

09/12 2015

dev-bugfix/dep-versions

dev-bugfix/dep-versions

CQRS and EventSourcing package for php >= 5.4

  Sources   Download

MIT

The Requires

 

The Development Requires

by David McKay

cqrs eventsourcing eventstore

09/12 2015

0.1.5

0.1.5.0

CQRS and EventSourcing package for php >= 5.4

  Sources   Download

MIT

The Requires

 

The Development Requires

by David McKay

cqrs eventsourcing eventstore

08/12 2015

0.1.4

0.1.4.0

CQRS and EventSourcing package for php >= 5.4

  Sources   Download

MIT

The Requires

 

The Development Requires

by David McKay

cqrs eventsourcing eventstore

25/11 2015

0.1.3

0.1.3.0

CQRS and EventSourcing package for php >= 5.4

  Sources   Download

MIT

The Requires

 

The Development Requires

by David McKay

cqrs eventsourcing

18/11 2015

0.1.2

0.1.2.0

CQRS and EventSourcing package for php >= 5.4

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by David McKay

cqrs eventsourcing

18/11 2015

0.1.1

0.1.1.0

CQRS and EventSourcing package for php >= 5.4

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by David McKay

cqrs eventsourcing