An open API service indexing awesome lists of open source software.

https://github.com/tanigami/value-objects-php

Yet another collection of Value Object implementation in PHP.
https://github.com/tanigami/value-objects-php

ddd php7 value-object

Last synced: 10 months ago
JSON representation

Yet another collection of Value Object implementation in PHP.

Awesome Lists containing this project

README

          

# PHP Value Objects

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tanigami/value-objects-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tanigami/specification-php/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/tanigami/value-objects-php/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/tanigami/specification-php/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/tanigami/value-objects-php/badges/build.png?b=master)](https://scrutinizer-ci.com/g/tanigami/specification-php/build-status/master)

Yet another collection of [Value Object](https://martinfowler.com/bliki/ValueObject.html) implementation in PHP.

- Geo
- Country
- Latitude
- Longitude
- Japan
- Region
- Prefecture
- PrefectureSuffix
- Money
- Currency
- Money
- Time
- Date
- TimeLength
- TimeOfDay
- TimeRange
- TimeRangeOfDay
- Web
- Email
- EmailAddress
- EmailAttachment
- HttpMethod
- IpAddressV4
- IpAddressV6
- Url

## Installation

```
$ composer require tanigami/value-objects
```