free as in freedom free software collection of tools to easy and speed up development with php
PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
source
test
.gitignore
.scrutinizer.yml
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

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.

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.

History

  • upcomming
    • @todo
      • add project overview (travis, scrutinizer, openhub etc.)
      • create examples for the sections
      • implement generator to update "Available Sections"
    • updated to phpunit 5.4
  • 1.9.0 - released at 06.03.2016
    • added dedicated integration test for php 7.0
    • moved to psr-4 autoloading
    • removed dedicated integration test for php 5.3.3
  • 1.8.1 - released at 12.01.2016
    • fixed dependency handling for phpunit 4.8.*
  • 1.8.0 - released at 15.12.2015
    • added Merge
    • added Text::hasTheLengthOf($string, $expectedLength), Text::isLongerThan($string, $expectedLength) and Text::isShorterThan($string, $expectedLength)
    • added Text::hasTheLengthOf($string, $expectedLength), Text::isLongerThan($string, $expectedLength) and Text::isShorterThan($string, $expectedLength)
  • 1.7.1 - released at 11.12.2015
    • fixed broken link in release 1.6.0
    • updated dependency
  • 1.7.0 - released at 05.11.2015
  • 1.6.0 - released at 02.11.2015
    • added Stopwatch
    • update release notes
    • updated dependency to phpunit
  • 1.5.0 - released at 10.10.2015
  • 1.4.1 - released at 17.09.2015
    • fixed validation issue and exception message spelling issue for the Experiment
  • 1.4.0 - released at 10.09.2015
  • 1.3.0 - released at 09.09.2015
  • 1.2.2 - released at 23.08.2015
    • updated dependency
  • 1.2.1 - released at 03.08.2015
    • made ChunkIterator reusable by making constructor parameters optional and create public initialize method
  • 1.2.0 - released at 03.08.2015
  • 1.1.2 - released at 03.08.2015
    • shifted parameters for EnumerableDeferred from ($initializer, $finisher, $processor, $limit to $initializer, $processor, $finisher, $limit)
  • 1.1.1 - released at 30.07.2015
    • updated dependency
  • 1.1.0 - released at 30.07.2015
  • 1.0.0 - released at 26.06.2015
    • initial release

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