# SplTypes

[![Build Status](https://travis-ci.org/ducks-project/spl-types.svg)](https://travis-ci.org/ducks-project/spl-types)

* Project page: https://github.com/ducks-project/spl-types
* Repository: https://github.com/ducks-project/spl-types
* Original PHP extension: http://php.net/manual/en/intro.spl-types.php

## Description

This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string

It provides classes unavailable if you can't install [SPL Types](http://php.net/manual/en/intro.spl-types.php) extension:
- [`SplType`](http://php.net/manual/en/class.spltype.php)
- [`SplInt`](http://php.net/manual/en/class.splint.php)
- [`SplFloat`](http://php.net/manual/en/class.splfloat.php)
- [`SplEnum`](http://php.net/manual/en/class.splenum.php)
- [`SplBool`](http://php.net/manual/en/class.splbool.php)
- [`SplString`](http://php.net/manual/en/class.splstring.php)

## License

This library is released under the [MIT license](LICENSE).
