Download the PHP package sabloger/php-strict without Composer
On this page you can find all versions of the php package sabloger/php-strict. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sabloger/php-strict
More information about sabloger/php-strict
Files in sabloger/php-strict
Download sabloger/php-strict
More information about sabloger/php-strict
Files in sabloger/php-strict
Vendor sabloger
Package php-strict
Short Description If you want PHP much clearer you'll be happy with Php-Strict! If you need a way to pass packed arguments to functions you'll be happy with Php-Strict! If you need a way to validate arguments and get rid of exceptions and data-misses on invalid arguments you'll be happy with Php-Strict! If you want a strict-typed ArrayList like Java and other strict-typed languages you'll be happy with Php-Strict!
License MIT
Package php-strict
Short Description If you want PHP much clearer you'll be happy with Php-Strict! If you need a way to pass packed arguments to functions you'll be happy with Php-Strict! If you need a way to validate arguments and get rid of exceptions and data-misses on invalid arguments you'll be happy with Php-Strict! If you want a strict-typed ArrayList like Java and other strict-typed languages you'll be happy with Php-Strict!
License MIT
Please rate this library. Is it a good library?
Informations about the package php-strict
php-strict
Strict-type Object base and Array-List for PHP 5! (5.4 and upper!)
Introduction
- If you want PHP much clearer you'll be happy with Php-Strict!
- If you need a way to pass packed arguments to functions you'll be happy with Php-Strict!
- If you need a way to validate arguments and get rid of exceptions and data-misses on invalid arguments you'll be happy with Php-Strict!
- If you want a strict-type ArrayList like Java and other strict-typed languages you'll be happy with Php-Strict!
- Binding to HTTP request is comming soon!!
Installation
Add following code to your composer.json
and run composer update
:
Usage: Object
First extend one sub class from BaseObject
, implement parent abstract methods, set predefines, instantiate then use! Finally run $obj->validate()
for validate data!. For example:
Sub-class:
- For ease of use and get suggestions on IDE for fields setters and getters, I strongly suggesting write class level docs, as like as above sample.
Use:
Usage: ArrayList
Can instantiate it directly and extend it for customization. For use only instantiate, setType and use!!
Basic use:
Advanced use:
Use:
LICENSE
This library is released under the MIT license.
All versions of php-strict with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
The package sabloger/php-strict contains the following files
Loading the files please wait ....