Download the PHP package nkey/phpgenerics without Composer
On this page you can find all versions of the php package nkey/phpgenerics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nkey/phpgenerics
More information about nkey/phpgenerics
Files in nkey/phpgenerics
Package phpgenerics
Short Description A generic component framework
License BSD-3-Clause
Homepage https://github.com/maikgreubel/phpgenerics
Informations about the package phpgenerics
PHP Generics
The purpose of this package is to provide some classes for more sophisticated access to ressources. It can be used in any framework or application which intends to use abstract interfaces.
Currently it provides a basic stream API, a socket provider and a logging infrastructure based on the PSR-3. The intention is to extend it with more infrastructure code.
Usage
Please take a look into API documentation. To create the API documentation by yourself, please install Apache Ant and execute
ant
Any further execution can be performed without updating the dependencies using command
ant no-update
Stability
The API is a test-driven framework and uses PHPUnit to test the stability. Please use ant (if not yet done, see Usage) and execute
ant
This will run all available test suites in tests/*. The command performs also some basic checks for copy&paste code parts and calculate the code quality.
Feel free to write and publish further tests.
In case of an error please report bugs using a PHPUnit test class. Take a look into the tests/ sub folders to see examples how to do create a new one.
License
The whole package is published under the terms of second BSD License (BSD2). Take a look into LICENSE.md
Pointers
This framework makes use of composer available at https://getcomposer.org/ to generate API documentation and perform tests.