Download the PHP package ottosmops/ids without Composer
On this page you can find all versions of the php package ottosmops/ids. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ottosmops/ids
More information about ottosmops/ids
Files in ottosmops/ids
Download ottosmops/ids
More information about ottosmops/ids
Files in ottosmops/ids
Please rate this library. Is it a good library?
Informations about the package ids
Parse ids to an array
Idea
For PHP CLI or Api, if you want to have an option for one or more ids (integers), this very small package is a helper, which parses a string to an array of ids.
Input | Output |
---|---|
1 | [1] |
1,2 | [1,2] |
1-3 | [1,2,3] |
1-5,7,8 | [1,2,3,4,5,7,8] |
Usage
The usage is very simple:
License
The MIT License (MIT). Please see License File for more information.
All versions of ids with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package ottosmops/ids contains the following files
Loading the files please wait ....