https://github.com/prooph/common
Common classes used across prooph components
https://github.com/prooph/common
event-emitter messaging php prooph
Last synced: 2 months ago
JSON representation
Common classes used across prooph components
- Host: GitHub
- URL: https://github.com/prooph/common
- Owner: prooph
- License: bsd-3-clause
- Created: 2015-03-04T19:15:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-20T18:50:49.000Z (4 months ago)
- Last Synced: 2025-04-01T08:42:58.264Z (2 months ago)
- Topics: event-emitter, messaging, php, prooph
- Language: PHP
- Homepage: http://getprooph.org
- Size: 331 KB
- Stars: 84
- Watchers: 7
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# prooph/common
[](https://github.com/prooph/common/actions/workflows/continuous-integration.yml)
[](https://coveralls.io/r/prooph/common?branch=master)
[](https://gitter.im/prooph/improoph)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](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](http://www.php-fig.org/) standards and other de facto standards like [Container-Interop](https://github.com/container-interop/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
- Ask questions on Stack Overflow tagged with [#prooph](https://stackoverflow.com/questions/tagged/prooph).
- File issues at [https://github.com/prooph/common/issues](https://github.com/prooph/common/issues).## 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.