2017 © Pedro Peláez
 

library embeddables

Small collection of value objects.

image

gentle/embeddables

Small collection of value objects.

  • Wednesday, August 24, 2016
  • by vimishor
  • Repository
  • 1 Watchers
  • 0 Stars
  • 702 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 15 % Grown

The README.md

Embeddables library

Latest Version License Build Status Coverage Status Code quality, (*1)

Small collection of Value Objects to ease composition., (*2)

Install

Via Composer, (*3)

``` bash $ composer require gentle/embeddables, (*4)


## Usage ``` php use Gentle\Embeddable\Date; use Gentle\Embeddable\Time; $date = new Date( new Date\Year(2016), new Date\Month(12), new Date\Day(25) ); echo (string)$date; // 2016-12-25 $time = new Time( new Time\Hour(23), new Time\Minute('04'), new Time\Second(14) ); // changing timezone will return a new `Time` object $time = $time->withTimeZone(new \DateTimeZone('Europe/Monaco')); echo (string)$time; // 23:04:14

Testing

bash $ composer test, (*5)

Contributing

Please see CONTRIBUTING for details., (*6)

Security

For any security related issues, please send an email at alex@gentle.ro instead of using the issue tracker., (*7)

License

Licensed under the MIT License - see the LICENSE file for details., (*8)

The Versions

24/08 2016

dev-develop

dev-develop http://www.gentle.ro

Small collection of value objects.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0
  • ext-bcmath *

 

The Development Requires

immutable composition value-objects

24/08 2016

dev-master

9999999-dev http://www.gentle.ro

Small collection of value objects.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0
  • ext-bcmath *

 

The Development Requires

immutable composition value-objects

24/08 2016

0.1.0

0.1.0.0 http://www.gentle.ro

Small collection of value objects.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0
  • ext-bcmath *

 

The Development Requires

immutable composition value-objects