2017 © Pedro Peláez
 

library phpgenerics

A generic component framework

image

nkey/phpgenerics

A generic component framework

  • Sunday, September 3, 2017
  • by maikgreubel
  • Repository
  • 3 Watchers
  • 1 Stars
  • 520 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Build Status Code Coverage Scrutinizer Code Quality Requirements Status, (*1)

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., (*2)

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., (*3)

Usage

Please take a look into API documentation. To create the API documentation by yourself, please install Apache Ant and execute, (*4)

ant

Any further execution can be performed without updating the dependencies using command, (*5)

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, (*6)

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., (*7)

Feel free to write and publish further tests., (*8)

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., (*9)

License

The whole package is published under the terms of second BSD License (BSD2). Take a look into LICENSE.md, (*10)

Pointers

This framework makes use of composer available at https://getcomposer.org/ to generate API documentation and perform tests., (*11)

The Versions