|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2020-12-14 (9 months ago) ||Not enough user ratings||Total: 112 ||All time: 9,371 This week: 243|
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
|One way to process a large set of data that is stored in an array is to iterate over the array one element at a time and process it.
This package provides a better way to process data in arrays. Instead of processing one element at a time, it processes chunks of multiple elements in each iteration. This way it can do the whole processing in a more efficient way.
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.
mkdir -p vendor/net_bazzline/php_component_toolbox
git clone https://github.com/bazzline/php_component_toolbox .
composer require net_bazzline/php_component_toolbox:dev-master
ChunkIterator - easy up iteration by defining a minimum, a maxium and a step width and returning a Chunk
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
Text - contains useful functions working with strings
API is available at bazzline.net.
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 :-].
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.