Download the PHP package jojo1981/php-types without Composer
On this page you can find all versions of the php package jojo1981/php-types. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jojo1981/php-types
More information about jojo1981/php-types
Files in jojo1981/php-types
Download jojo1981/php-types
More information about jojo1981/php-types
Files in jojo1981/php-types
Vendor jojo1981
Package php-types
Short Description PHP types library which contains value classes which represent the php types
License MIT
Package php-types
Short Description PHP types library which contains value classes which represent the php types
License MIT
Please rate this library. Is it a good library?
Informations about the package php-types
PHP types library which contains value classes which represent the php types
Author: Joost Nijhuis [[email protected]](mailto:[email protected])
This library has some value classes which represent a PHP type.
These value classes can be constructed based on the PHP type name or based on a value.
There are 2 pseudo type classes: Jojo1981\PhpTypes\MixedType
and Jojo1981\PhpTypes\MultiType
which will function as composite.
Also, an abstract factory class is included: Jojo1981\PhpTypes\AbstractType
.
The following types are supported, with their aliases:
- array
- bool (boolean)
- callable (callback)
- class
- float (number, real, double)
- int (integer)
- iterable
- null
- object
- resource
- string (text)
- void
Pseudo types:
- mixed
- multi
Installation
Library
Composer
Basic usage
All versions of php-types with dependencies
PHP Build Version
Package Version
The package jojo1981/php-types contains the following files
Loading the files please wait ....