2017 © Pedro Peláez
 

library drange

Discontinuous ranges

image

jrdev/drange

Discontinuous ranges

  • Saturday, July 8, 2017
  • by jrobinsonc
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

DRange

Build Status Dependency Status, (*1)

Discontinuous ranges., (*2)

$drange = new DRange(1, 5); // [ 1-5 ]
$drange->add(6); // [ 1-6 ]
$drange->add(8); // [ 1-6, 8 ]
$drange->add(7); // [ 1-8 ]
$drange->subtract(1, 3); // [ 4-8 ]

Documentation

Soon..., (*3)

Installation

Install the latest version with:, (*4)

$ composer require jrdev/drange

License

Licensed under the MIT licence., (*5)

The Versions