/php_component_toolbox

free as in freedom free software collection of tools to easy and speed up development with php

Primary LanguagePHPGNU Lesser General Public License v3.0LGPL-3.0

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 .
composer require net_bazzline/php_component_toolbox:dev-master

Available Sections

  • 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

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 :-].