PHPackages                             phpfn/immutable - 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. phpfn/immutable

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

phpfn/immutable
===============

Simple helper to ensure immutable objects

2.0.1(5y ago)97.8k↓50%1MITPHPPHP &gt;=7.4

Since Nov 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/phpfn/immutable)[ Packagist](https://packagist.org/packages/phpfn/immutable)[ Docs](https://github.com/phpfn)[ RSS](/packages/phpfn-immutable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Immutable
=========

[](#immutable)

Installation
------------

[](#installation)

Library can be installed into any PHP application:

- Using [`Composer`](https://getcomposer.org/) dependency manager
- [The Force](https://www.youtube.com/watch?v=o2we_B6hDrY) for the Jedi Developers

```
$ composer require phpfn/immutable
```

In order to access library make sure to include `vendor/autoload.php`in your file.

```
