freyr / identity
A PHP library for Identity concept.
v0.2.0
2025-10-02 08:26 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. Should be used mainly as a Entity / Aggregate ID
Installation
To install this library, use Composer:
composer require freyr/identity
License
This project is licensed under the MIT License — see the LICENSE file for details.