2017 © Pedro Peláez
 

library domain-event

Domain event library.

image

krixon/domain-event

Domain event library.

  • Monday, July 3, 2017
  • by krixon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,235 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 15 % Grown

The README.md

Domain Event

Build Status Coverage Status Latest Stable Version Latest Unstable Version, (*1)

A library for using domain events., (*2)

Installation

$ composer require krixon/domain-event, (*3)

Development

Build Image and Run Container

Note: If your host machine's user does not have an ID of 1000, run the following command from the project root directory:, (*4)

echo "DEV_UID=$(id -u)" > .env

This ensures that any files created in mounted directories have the correct permissions. It will also cause the host user's SSH keys and Composer cache to be used inside the container., (*5)

Build image:, (*6)

$ docker-compose build, (*7)

Install dependencies:, (*8)

$ docker-compose run --rm library composer install, (*9)

Run the tests

$ docker-compose run --rm library composer test, (*10)

Coding Standard

This library uses a customised version of the Doctrine coding standard that must be followed at all times. If you're using PHPStorm you can make this easier by enabling the Code Sniffer inspection:, (*11)

Navigate to Settings > Editor > Inspections and select PHP > Quality Tools > PHP Code Sniffer validation from the list. Enable the inspection. Set the severity to ERROR and check the show warning as checkbox with the option WEAK WARNING. Select the coding standard Custom and point the rule set path to the phpcs.xml.dist file at the root of the project., (*12)

To check conformance use:, (*13)

$ docker-compose run --rm library composer cs, (*14)

Testing

$ docker-compose run --rm library composer test, (*15)

Change log

All notable changes are recorded in CHANGELOG., (*16)

The Versions

03/07 2017

dev-master

9999999-dev

Domain event library.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/07 2017

0.2.0

0.2.0.0

Domain event library.

  Sources   Download

MIT

The Requires

 

The Development Requires

24/04 2017

0.1.1

0.1.1.0

Domain event library.

  Sources   Download

MIT

The Requires

 

The Development Requires

20/04 2017

0.1.0

0.1.0.0

Domain event library.

  Sources   Download

MIT

The Requires

 

The Development Requires