Elevator pattern — type casting of user defined objects in PHP
Please find the project documentation in the doc
directory. We recommend reading it via Read the Docs.
This library requires PHP >=5.6 or later. I recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies.
To run the unit tests at the command line, issue composer install
and then phpunit
at the package root. This requires Composer to be available as composer
, and PHPUnit to be available as phpunit
.
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.
Found a bug or have a feature request? Please have a look at the known issues first and open a new issue if necessary. Please see contributing and conduct for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Copyright © 2017 Joschi Kuphal / [email protected]. Licensed under the terms of the MIT license.