event-engine / php-data
Immutable objects for Event Engine
Installs: 119 013
Dependents: 6
Suggesters: 0
Security: 0
Stars: 20
Watchers: 2
Forks: 4
Open Issues: 1
pkg:composer/event-engine/php-data
Requires
- php: ^7.4 || ^8.0
Requires (Dev)
- malukenho/docheader: ^0.1.4
- php-coveralls/php-coveralls: ^2.2
- phpunit/phpunit: ^8.0 || ^9.0
- prooph/php-cs-fixer-config: ^0.4
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2025-10-16 13:46:34 UTC
README
Generate Immutable Objects with ease!
Installation
composer require event-engine/php-data
Versions
- 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
Usage is described in the documentation