Download the PHP package star/php-type without Composer
On this page you can find all versions of the php package star/php-type. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download star/php-type
More information about star/php-type
Files in star/php-type
Download star/php-type
More information about star/php-type
Files in star/php-type
Vendor star
Package php-type
Short Description Package to wrap basic php types behind a common interface
License MIT
Package php-type
Short Description Package to wrap basic php types behind a common interface
License MIT
Please rate this library. Is it a good library?
Informations about the package php-type
PHP type value wrapper
Basic OOP classes to wrap php basic types conversion behind a common interface.
Installation
composer require star/php-type
Casting value
You can use ValueGuesser to convert a mixed value to the object type.
Hooking into the type
When you don't know which type will be returned, the ValueVisitor
allows you to define operations per
type (like a switch case).
All versions of php-type with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0|^8.0
ext-mbstring Version *
ext-mbstring Version *
The package star/php-type contains the following files
Loading the files please wait ....