renandelmonico / value-objects
A library with VOs to agreggate in your projects
v0.2.0
2023-03-03 19:27 UTC
Requires
- php: >=8.2
- ramsey/uuid: ^4.3
Requires (Dev)
- infection/infection: ^0.26.6
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-07-06 18:12:00 UTC
README
A lib to aggregate in your projects with most commons VO's.
Produced by Renan Delmonico to use in his projects
Summary
What's Value Objects?
Documentation
To read the documentation run the Makefile command:
make doc-generate
Value Objects
- Address
- Boolean
- City
- DateTime
- Integer
- IP (IPv4 and IPv6)
- Numeric
- Password
- Str
- Text
- UUID
Enums
- Country
- PasswordAlgo
- State (Brazil)
Pull Requests
Before you submit a Pull Request you must run the unit and mutation tests and check if the coverage is 100%.
How?
There are three commands in Makefile (test-unit
, test-mutation
and test-coverage
). You must run this commands.
Please, rate this lib ❤️ and give stars ⭐