Download the PHP package ddd-php/event without Composer
On this page you can find all versions of the php package ddd-php/event. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ddd-php/event
More information about ddd-php/event
Files in ddd-php/event
Download ddd-php/event
More information about ddd-php/event
Files in ddd-php/event
Vendor ddd-php
Package event
Short Description To implement events in domain driven developement or anyother styles projects with PHP
License BSD-3-Clause
Homepage https://github.com/frederic100/event
Package event
Short Description To implement events in domain driven developement or anyother styles projects with PHP
License BSD-3-Clause
Homepage https://github.com/frederic100/event
Keywords templating
Please rate this library. Is it a good library?
Informations about the package event
Installation
composer require ddd/event
Usage
Steps are:
- create a domain event (name + past tense verb, example: AccountCreated implements DomainEventInterface)
- publish this event
- distribute events
Somewhere else:
- create a subscriber at an event (exemple: class SendEmailWhenAccountCreatedSubscriber implements DomainEventSubscriber)
- register the subscriber, when event will be distrute the subscriber will handle it and do what it has to do
To Contribut to ddd/Event
Requirements
- docker
- git
Install
- git clone [email protected]:frederic100/event.git
Unit test
with Test Developpment Driven (thanks Kent Beck and the others), good practices (thanks R.Martin and the others)
Quality
- phpcs STD12
- 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
>=7.2.5
The package ddd-php/event contains the following files
Loading the files please wait ....