PHP Classes

PHP Generics: Framework for accessing streams, sockets and logs

Recommend this page to a friend!
  Info   View files Documentation   View files View files (103)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (3 days ago) RSS 2.0 feedStarStarStarStar 71%Total: 456 This week: 3All time: 6,103 This week: 154Up
Version License PHP version Categories
php-generics 0.35BSD License5.4Networking, PHP 5, Libraries, Logging
Description 

Author

This package is a framework for accessing streams, sockets and logs.

It provides a set of classes that serve for different purposes like HTTP clients, generic network socket client and servers, a logger compliant with PSR-3, and general purpose classes for manipulating arrays and parsing URLs.

Picture of Maik Greubel
  Performance   Level  
Innovation award
Innovation award
Nominee: 4x

 

Documentation

Build Status Code Coverage Scrutinizer Code Quality Requirements Status

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.


  Files folder image Files  
File Role Description
Files folder imagecontrib (1 file)
Files folder imagesrc (1 directory)
Files folder imagetests (7 directories)
Accessible without login Plain text file .travis.yml Data Travis Ci configuration
Accessible without login Plain text file build.xml Data Ant build script
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. Auxiliary data
Accessible without login Plain text file phpcs.xml Data PHPCodeSniffer configuration
Accessible without login Plain text file phpdox.xml Data PHPDox configuration
Accessible without login Plain text file phpmd.xml Data PHPMessDetector configuration
Accessible without login Plain text file phpunit.xml Data PHPUnit configuration
Accessible without login Plain text file README.md Doc. Auxiliary data

 Version Control Reuses Unique User Downloads Download Rankings  
 100%2
Total:456
This week:3
All time:6,103
This week:154Up
User Ratings User Comments (1)
 All time
Utility:93%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:68%StarStarStarStar
Examples:-
Tests:81%StarStarStarStarStar
Videos:-
Overall:71%StarStarStarStar
Rank:326
 
Nice package.
9 years ago (pvdptje)
62%StarStarStarStar