adrigar94 / value-object-craft
ValueObjectCraft is a PHP library that provides a set of versatile and robust value objects for data handling in applications. It is designed to simplify and standardize the usage of value objects in PHP, offering a reliable and efficient solution for representing and manipulating immutable data.
Requires
- php: >=8
- ramsey/uuid: ^4.7
Requires (Dev)
- phpunit/phpunit: ^10.1
README
ValueObjectCraft is a PHP library that provides a set of versatile and robust value objects for data handling in applications. It is designed to simplify and standardize the usage of value objects in PHP, offering a reliable and efficient solution for representing and manipulating immutable data.
Note: 🚧 This library is under active development and is considered to be in an early stage. Contributions are welcome! 🙌
Installation
To install ValueObjectCraft using Composer, run the following command:
composer require adrigar94/value-object-craft
TODO
- Create a comprehensive guide on how to use the library
- Implement additional domain value objects
- Name
- FullName (combination of first name and last name)
- Password
- Currency
- Price (combination of numeric value and currencyy)
- Phone
- ...
Feel free to explore the library, provide feedback, and contribute to its development. Together, we can build a robust and feature-rich set of value objects for PHP applications! 🚀