net_bazzline / php_component_toolbox
free as in freedom free software collection of tools to easy and speed up development with php
Installs: 1 883
Dependents: 5
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 0
Open Issues: 4
Requires
- php: >=8.0
Requires (Dev)
- phpunit/phpunit: ~9.0
README
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
- Combine - advanced implementation of array_combine
- Merge - advanced implementation of array_merge
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 :-].