prooph/common

Common classes used across prooph packages

Maintainers

👁 prooph

Package info

github.com/prooph/common

Homepage

pkg:composer/prooph/common

Statistics

Installs: 2 219 013

Dependents: 31

Suggesters: 0

Stars: 84

Open Issues: 0

v4.6.1 2025-04-01 08:53 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause e2b5d0ba8bb957a4655fc0aef6d02a424d15587c

  • Alexander Miertsch <kontakt.woop@codeliner.ws>
  • Sascha-Oliver Prolic <saschaprolic.woop@googlemail.com>

commonprooph


README

👁 Continuous Integration
👁 Coverage Status
👁 Gitter

Common classes shared between prooph components

Important

This library will receive support until December 31, 2019 and will then be deprecated.

For further information see the official announcement here: https://www.sasaprolic.com/2018/08/the-future-of-prooph-components.html

Note about versions

The 4.0 release is only for the newer prooph-components (event-store v7, service-bus v6, and so on). If you are using an older version of prooph/event-store or prooph/service bus, stick to 3.x series.

Shared Kernel

Prooph components work with php-fig standards and other de facto standards like Container-Interop whenever possible. But they also share some prooph specific classes. These common classes are included in this repository.

Documentation

Documentation is in the doc tree, and can be compiled using bookdown.

$ php ./vendor/bin/bookdown docs/bookdown.json $ php -S 0.0.0.0:8080 -t docs/html/

Then browse to http://localhost:8080/

Changes from 3.x series

  • Minimum requirement is now PHP 7.1
  • Add payload-method to Message interface
  • Removed version-method from Message interface
  • Removed ActionEventListener interface
  • Action Event Emitter can accept a list of available event names
  • Update to ramsey/uuid 3.5.1
  • Update to PHPUnit 6.0

Support

Contribute

Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.