PHP Toolbox: General purpose classes to use in PHP projects

Recommend this page to a friend!
  Info   View files Documentation   View files View files (28)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-12-14 (2 days ago) RSS 2.0 feedNot enough user ratingsTotal: 39 This week: 39All time: 9,993 This week: 2Up
Version License PHP version Categories
php_component_toolbo 1.0.0GNU Lesser Genera...5PHP 5, Time and Date, Utilities and T..., T...
Description Author

This package provides general purpose classes to use in PHP projects.

It provides a collection of classes that can be used to perform several types of tasks. Currently it provides classes to:

- Merge or combine arrays into a single array
- Iterate over a set of values in a chunk at a time
- Execute a prepare or a cleanup function after processing a number of entries of a set of values
- Execute a callback function limited to a given number of times
- Measure time that passed since a given start moment
- Manipulate timestamps as an object

Picture of nvb
  Performance   Level  
Innovation award
Innovation award
Nominee: 8x

 

Details

Toolbox Component for PHP

This project aims to deliver an easy to use and free as in freedom php component full of toolbox things you need on your daily work with php.

The current change log can be found here.

Install

By Hand

mkdir -p vendor/net_bazzline/php_component_toolbox
cd vendor/net_bazzline/php_component_toolbox
git clone https://github.com/bazzline/php_component_toolbox .

With Packagist

    composer require net_bazzline/php_component_toolbox:dev-master

Available Sections

Array

Collection

  • ChunkIterator - easy up iteration by defining a minimum, a maxium and a step width and returning a Chunk

Progress

  • EnumerableDeferred - enables you to execute a prepare or a cleanup function after processing n entries
  • Experiment - enables you to try to execute a callback up to x times

Scalar

  • Text - contains useful functions working with strings

Time

API

API is available at bazzline.net.

Final Words

Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if use it. Make a donation if you love it :-].

  Files folder image Files  
File Role Description
Files folder imagesource (5 directories)
Files folder imagetest (2 files, 5 directories)
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:39
This week:39
All time:9,993
This week:2Up

For more information send a message to info at phpclasses dot org.