2017 © Pedro Peláez
 

library date-time-range

DateTimeRange value object

image

php-value-object/date-time-range

DateTimeRange value object

  • Friday, December 8, 2017
  • by mhlavac
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2,432 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

DateTimeRange Value Object

Build Status Latest Stable Version License PHPStan, (*1)

This repository provides DateTiemRange ValueObject implementation for PHP that is easy to use and easily allow your classes to depend on DateTimeRange object instead of having both $startDateTime and $endDateTime., (*2)

Install

You can install this package via composer, (*3)

composer require php-value-object/date-time-range, (*4)

Example

``` php $dateTimeRange = new DateTimeRange( new \DateTimeImmutable('2015-01-01'), new \DateTimeImmutable('2015-03-25') );, (*5)


## Licence MIT ## Contributing Any contributions are welcome ## Building & Development The easiest way how to develop is to `git clone` and run `make`

git clone git@github.com:PHPValueObject/DateTimeRange.git date_time_range cd date_time_range make ```, (*6)

The Versions

08/12 2017

dev-master

9999999-dev

DateTimeRange value object

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar mhlavac

08/12 2017

v0.1

0.1.0.0

DateTimeRange value object

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires