neuecommerce/value-objects

Collection of framework agnostic PHP Value Objects.

dev-main / 1.0.x-dev 2023-05-08 22:19 UTC

This package is auto-updated.

Last update: 2024-04-09 00:26:45 UTC


README

Build Status Software License Latest Version on Packagist Total Downloads

A collection of framework agnostic PHP Value Objects.

This package is compliant with the FIG standards PSR-1, PSR-2 and PSR-4 to ensure a high level of interoperability between shared PHP. If you notice any compliance oversights, please send a patch via pull request.

What is a Value Object?

A Value Object is an immutable type that is distinguishable only by the state of its properties, meaning, they will be equal if their properties are equal.

Plese refer to Wikipedia to learn more about Value Objects.

Instalation

You can install the package via Composer by running:

composer require neuecommerce/value-objects

Available Value Objects

Here's a list of the available Value Objects and a link to their specific documentation page :)

Contributing

Thank you for your interest in Value Objects. Here are some of the many ways to contribute.

License

The MIT License (MIT). Please see License File for more information.