PHPackages                             prooph/common - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. prooph/common

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

prooph/common
=============

Common classes used across prooph packages

v4.6.1(1y ago)842.2M↓50.2%2420BSD-3-ClausePHPPHP ^8.1CI failing

Since Mar 5Pushed 1y ago6 watchersCompare

[ Source](https://github.com/prooph/common)[ Packagist](https://packagist.org/packages/prooph/common)[ Docs](http://getprooph.org/)[ RSS](/packages/prooph-common/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (6)Versions (42)Used By (20)

prooph/common
=============

[](#proophcommon)

[![Continuous Integration](https://github.com/prooph/common/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/prooph/common/actions/workflows/continuous-integration.yml)[![Coverage Status](https://camo.githubusercontent.com/c1274f542387d4899fc1a5a2b59013dc3bc511e5ee97cd06c8bbee4b8e4bb526/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f70726f6f70682f636f6d6d6f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/prooph/common?branch=master)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/prooph/improoph)

Common classes shared between prooph components

Important
---------

[](#important)

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

For further information see the official announcement here:

Note about versions
-------------------

[](#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
-------------

[](#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)

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

Changes from 3.x series
-----------------------

[](#changes-from-3x-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
-------

[](#support)

- Ask questions on Stack Overflow tagged with [\#prooph](https://stackoverflow.com/questions/tagged/prooph).
- File issues at .

Contribute
----------

[](#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.

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance44

Moderate activity, may be stable

Popularity56

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 79.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~92 days

Recently: every ~387 days

Total

41

Last Release

434d ago

Major Versions

v1.5 → v2.02015-05-09

v2.2 → v3.02015-07-25

v3.7.1 → v4.0.0-beta12016-12-12

PHP version history (7 changes)v1.0PHP &gt;=5.5

v3.6PHP ~5.5|~7.0

v4.0.0-beta1PHP ^7.1.0

v4.5.0PHP ^7.3.0 | ^8.0

v4.5.1PHP ^7.4 || ^8.0

v4.6.0PHP ^8.2

v4.6.1PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7341005?v=4)[prooph](/maintainers/prooph)[@prooph](https://github.com/prooph)

---

Top Contributors

[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (111 commits)")[![fritz-gerneth](https://avatars.githubusercontent.com/u/1294731?v=4)](https://github.com/fritz-gerneth "fritz-gerneth (12 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (8 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (3 commits)")[![arnedesmedt](https://avatars.githubusercontent.com/u/5807162?v=4)](https://github.com/arnedesmedt "arnedesmedt (1 commits)")[![unixslayer](https://avatars.githubusercontent.com/u/1131246?v=4)](https://github.com/unixslayer "unixslayer (1 commits)")[![kochen](https://avatars.githubusercontent.com/u/106042?v=4)](https://github.com/kochen "kochen (1 commits)")[![pvgnd](https://avatars.githubusercontent.com/u/5188832?v=4)](https://github.com/pvgnd "pvgnd (1 commits)")[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (1 commits)")

---

Tags

event-emittermessagingphpproophcommonprooph

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prooph-common/health.svg)

```
[![Health](https://phpackages.com/badges/prooph-common/health.svg)](https://phpackages.com/packages/prooph-common)
```

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k77.4k88](/packages/pocketmine-pocketmine-mp)[firefly-iii/data-importer

Firefly III Data Import Tool.

7905.8k](/packages/firefly-iii-data-importer)[mynaparrot/plugnmeet-sdk

plugNmeet PHP SDK

102.5k](/packages/mynaparrot-plugnmeet-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
