Download the PHP package php-strict/struct without Composer
On this page you can find all versions of the php package php-strict/struct. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download php-strict/struct
More information about php-strict/struct
Files in php-strict/struct
Download php-strict/struct
More information about php-strict/struct
Files in php-strict/struct
Vendor php-strict
Package struct
Short Description Implementation of composite type for PHP.
License GPL-2.0-or-later
Homepage https://github.com/php-strict/struct
Package struct
Short Description Implementation of composite type for PHP.
License GPL-2.0-or-later
Homepage https://github.com/php-strict/struct
Please rate this library. Is it a good library?
Informations about the package struct
Struct
Implementation of composite type for PHP.
Contains methods to create from associated array, JSON string or another Struct, with/without type cast.
Requirements
- PHP >= 7.1
Install
Install with Composer:
Usage
Define your own composite type by extending Struct class:
Now you can fill your strcuture with data:
See examples dir.
Tests
To execute the test suite, you'll need Codeception.
All versions of struct with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1
The package php-strict/struct contains the following files
Loading the files please wait ....