Download the PHP package phariscope/event without Composer
On this page you can find all versions of the php package phariscope/event. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phariscope/event
More information about phariscope/event
Files in phariscope/event
Download phariscope/event
More information about phariscope/event
Files in phariscope/event
Vendor phariscope
Package event
Short Description To implement events in domain driven developement or anyother styles projects with PHP
License MIT
Homepage https://github.com/phariscope/Event
Package event
Short Description To implement events in domain driven developement or anyother styles projects with PHP
License MIT
Homepage https://github.com/phariscope/Event
Keywords event
Please rate this library. Is it a good library?
Informations about the package event
Installation
Usage
Steps are:
- Create a domain event (name + past tense verb, example:
AccountCreated
extendsEventAbstract
). - Publish this event.
- Distribute events.
Somewhere else:
- create a subscriber at an event (exemple: class SendEmailWhenAccountCreatedSubscriber implements EventSubscriber)
- register the subscriber, when event will be distrute the subscriber will handle it and do what it has to do
To Contribut to pharsicope/Event
Requirements
- docker
- git
Install
- git clone [email protected]:phariscope/Event.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 >99%
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
All versions of event with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package phariscope/event contains the following files
Loading the files please wait ....