eberkund/ranger

Easily expand text to an array of integers

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/eberkund/ranger

v0.1.0 2018-04-08 20:29 UTC

This package is not auto-updated.

Last update: 2025-12-21 11:59:14 UTC


README

Latest Stable Version Total Downloads License Build Status Coverage

Ranger

Easily expand text to an array of integers.

Installation

composer require eberkund/ranger

Usage

Pass the get_range a string and expect back an array of integers.

get_range('1-3,8');

// [1, 2, 3, 8]

Testing

Run the tests with,

vendor/bin/phpunit