freyr / identity
A PHP library for Identity concept.
0.1.1
2025-06-09 19:14 UTC
Requires
- php: ^8.4
- ramsey/uuid: ^4.7
Requires (Dev)
- ergebnis/composer-normalize: ^2.45
- kubawerlos/php-cs-fixer-custom-fixers: ^3.7.2
- phpcompatibility/php-compatibility: 10.x-dev as 9.99.0
- phpcompatibility/phpcompatibility-symfony: ^1.2
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^12.0
- symplify/easy-coding-standard: ^12.5
README
Freyr's Identity is a simple Id class that acts as a thin adapter layer around UUID interface.
Installation
To install this library, use Composer:
composer require freyr/monadic
Educational Purpose
This library was created for educational purposes to demonstrate the implementation and use of monadic types in PHP. It is intended to help developers understand and apply functional programming concepts in their PHP projects.
License
This project is licensed under the MIT License — see the LICENSE file for details.