Download the PHP package phariscope/event-store without Composer
On this page you can find all versions of the php package phariscope/event-store. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phariscope/event-store
More information about phariscope/event-store
Files in phariscope/event-store
Package event-store
Short Description To develop event stores this package is start base.
License MIT
Homepage https://github.com/phariscope/EventStore
Informations about the package event-store
Installation
Usage
There is no direct usage for this package. You should use this package only if you want to develop your own event storage component.
To develop your own storage:
- Create your own Store implementing the StoreInterface.
- Create your subscriber by extending PersistEventSubscriberAbstract, which can be constructed with your store.
A sample of the StoreInterface is provided with StoreEventInMemory. You can use it for testing purposes.
To Contribut to pharsicope/Event
Requirements
- docker
- git
Install
- git clone [email protected]:phariscope/EventStore.git
Unit test
Using Test-Driven Development (TDD) principles (thanks to Kent Beck and others), following good practices (thanks to Uncle Bob and others) and the great book 'DDD in PHP' by C. Buenosvinos, C. Soronellas, K. Akbary
Quality
- phpcs PSR12
- phpstan level 9
- coverage 100%
- infection MSI 100%
Quick check with:
Check coverage with:
and view 'var/index.html' with your browser
Check infection with:
and view 'var/infection.html' with your browser