bcolucci/type

Provides very simple classes to abstract some primitive PHP types.

1.2.0 2014-09-11 13:35 UTC

This package is not auto-updated.

Last update: 2024-12-21 15:39:32 UTC


README

Provides very simple classes to abstract some primitive PHP types. It will help you in order to validate your parameters. Of course, if you have SplType classes, you should use it.

Installation

To install the package using [composer] (https://getcomposer.org/), you just need to add the following lines to your composer.json file.

...
"require": {
    "bcolucci/type": "~1.2"
}
...