php-alchemist/value-object

Collection of services for Value Object functionality

v1.0.0 2025-06-26 11:42 UTC

This package is auto-updated.

Last update: 2025-06-30 10:12:57 UTC


README

Package: php-alchemist/value-object

Unit Tests StyleCI

What

A basic framework for providing value objects with a few freebies.

Usage

This package provides a simple foundation for implementing your own value objects—no need to create custom interfaces or abstract classes. It also includes four preconfigured models ready for use.

Contracts:

  • VONumberInterface
  • VOStringInterface

Abstract Classes:

  • AbstractVONumber
  • AbstractVOString

Models:

  • Email
  • Id
  • USState
  • VONumber