Immutable objects for Event Engine

v2.0.0 2021-02-06 21:00 UTC


Build Status Coverage Status

Generate Immutable Objects with ease!

Value Object Template vo_string


composer require event-engine/php-data


  • 1.x uses method return type hints to detect ImmutableRecord property types
    • Use this version in PHP 7.2 - PHP 7.3 environments
  • 2.x makes use of PHP 7.4 property type hints
    • Use this version in >= PHP 7.4 environments

PHPStorm Templates

The EventEngine\Data package contains a set of live templates specifically designed to work together with the EventEngine\Data\ImmutableRecord.

You can import the templates by following official PHPStorm instructions.

Please find the settings.zip here.


Usage is described in the documentation