qubus/valueobjects

A PHP library of immutable objects to use in Domain Driven Design.

v3.0.3 2023-09-04 02:38 UTC

README

A PHP library of immutable objects to use in Domain Driven Design.

This is fork of ytake/valueobjects. The difference with this libary is that DateTime is using Carbon.

Requirements

  • PHP 8.2+

Install

$ composer require qubus/valueobjects

Testing

$ composer test

License

Released under the MIT License.