Libraries tagged by immutability

matthiasnoback/convenient-immutability

78 Favers
65395 Downloads

Make objects initially inconsistent, yet eventually immutable

Go to Download


bonami/collections

43 Favers
165291 Downloads

Collections library with focus on immutability and functional approach

Go to Download


chemem/bingo-functional

70 Favers
7038 Downloads

A simple functional programming library.

Go to Download


haspadar/phpstan-rules

2 Favers
21638 Downloads

PHPStan design rules for immutability and structure

Go to Download


php-slang/php-slang

105 Favers
27241 Downloads

PHPSlang is a library that allow you to write a purely functional code in PHP

Go to Download


maplephp/dto

4 Favers
607 Downloads

DTO library in PHP provides benefits such as encapsulating data, enforcing immutability and facilitating data transformation.

Go to Download


eboreum/collections

0 Favers
7291 Downloads

Wish you had generics in PHP? This library provides a sensible means of managing collections of data (i.e. arrays with restrictions), immutably, until such a time that PHP generics are bestowed upon us.

Go to Download


grisaia/time

0 Favers
4935 Downloads

PHP built-in DateTime classes alternative. Strict types, immutability, no exceptions and latest PHP features.

Go to Download


davidmpeace/immutability

6 Favers
20474 Downloads

A simple Laravel package that allows you to enforce immutable attributes on Eloquent models.

Go to Download


tiny-blocks/immutable-object

3 Favers
14594 Downloads

Provides immutable behavior for objects.

Go to Download


phpcommon/valueobject

7 Favers
29 Downloads

PHP Value Object Library.

Go to Download


m1guelpf/eloquent-immutable

6 Favers
2 Downloads

Enforce table immutability using Laravel Eloquent

Go to Download


eboreum/immutable-interface

0 Favers
18 Downloads

Flag a class as being immutable by implementing the ImmutableInterface. An immutable object must never change its state; i.e. its class properties must remain unchanged after instantiation or cloning.

Go to Download


walnut/lang

4 Favers
59 Downloads

Walnut is a modern functional programming language that combines powerful type system features with practical programming constructs. Designed for building robust applications, Walnut emphasizes type safety, immutability, and clear error handling while maintaining excellent developer ergonomics.

Go to Download


taujor/cally

7 Favers
1 Downloads

Cally is a lightweight, immutable registry for storing and retrieving data or services in PHP. It provides a simple yet powerful way to manage configurations, dependencies, or any key-value pairs with support for immutability and PSR-11 compliance. Cally is ideal for any project where a full-fledged dependency injection container is unnecessary.

Go to Download


Next >>