Libraries tagged by immutability
margusk/accessors
225 Downloads
Provides automatic property accessors (setters/getters) with immutability support
innis/coding-standards
13 Downloads
PHPStan rules that enforce the Innis coding conventions: clean-architecture layering, banned traits, interface/collection/exception placement, value-object immutability, and naming smells.
repat/immutability
444 Downloads
A simple Laravel package based on davidmpeace/immutability that allows you to enforce immutable attributes on Eloquent models.
phpgears/immutability
7175 Downloads
Object immutability guard for PHP
dylan-chapman/immutability
8907 Downloads
A simple Laravel package that allows you to enforce immutable attributes on Eloquent models.
rasuvaeff/rector-datetime-immutable
1 Downloads
Rector rules that migrate DateTime to DateTimeImmutable and auto-fix lost mutations whose return value is ignored
phpcommon/valueobject-bundle
9 Downloads
Bundle to integrate Value Objects with Symfony projects.
phpcommon/doctrine-orm-specification-bridge
8 Downloads
Doctrine ORM bridge for converting specifications into queries.
phpcommon/doctrine-mongodb-valueobject-bridge
1 Downloads
Doctrine MongoDB ODM bridge for using value objects as data-types.
phpcommon/doctrine-dbal-valueobject-bridge
8 Downloads
Doctrine DBAL bridge for using value objects as data-types.
eboreum/immutable-interface-phpstan-checker
0 Downloads
Check your project's code for adherence to immutability (class implementing Eboreum\ImmutableInterface\ImmutableInterface) using PHPStan (https://phpstan.org/).
eboreum/cloner
2 Downloads
Immutably clone (copy) objects and override their properties. Works for readonly classes and properties as well.
rootiteam/accessors
26 Downloads
Provides automatic property accessors (setters/getters) with immutability support
plab/value-object
2066 Downloads
A PHP library of classes for immutability object compound
naoyuki42/php-keyed-collection
0 Downloads
A PHP library that provides a keyed collection class with type safety and immutability.