2017 © Pedro Peláez
 

library crutches

A PHP utility library

image

glynnforrest/crutches

A PHP utility library

  • Friday, July 31, 2015
  • by glynnforrest
  • Repository
  • 1 Watchers
  • 9 Stars
  • 3,794 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 4 % Grown

The README.md

Crutches

A PHP utility library

Build Status Packagist Software License, (*1)

Included classes:, (*2)

  • DotArray - Set and get values from complex array structures easily.
  • ItemList - Manipulate a list of objects (arrays with numeric keys). Methods are inspired by functional concepts such as map, filter and take. All methods that operate on the list return a new instance, leaving the original list unchanged.
  • MutableItemList - The same as ItemList, except all methods modify the object instead of returning a new instance.
  • Bitmask - A series of flags used to represent a group of properties (e.g. user permissions).
  • NamedBitmask - An extension of Bitmask that abstracts numeric flags away from the user, instead referring to named flags.
  • Roman - Convert integers to roman numerals and back again.

See the docs/ directory for detailed usage on each., (*3)

Installation

Crutches is installed via Composer. To add it to your project, simply add it to your composer.json file:, (*4)

{
    "require": {
        "glynnforrest/crutches": "0.4.*"
    }
}

And run composer to update your dependencies:, (*5)

curl -s http://getcomposer.org/installer | php
php composer.phar update

License

MIT, (*6)

The Versions

31/07 2015

dev-master

9999999-dev

A PHP utility library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

utility list bitmask support tool dotarray

03/02 2015

0.3.2

0.3.2.0

A PHP utility library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

utility list bitmask support tool dotarray

19/01 2015

0.3.1

0.3.1.0

A PHP utility library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

utility list bitmask support tool dotarray

25/10 2014

0.3.0

0.3.0.0

A PHP utility library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

utility list bitmask support tool dotarray

13/05 2014

0.2.2

0.2.2.0

A utility library for strings, numbers, arrays and words.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

12/05 2014

0.2.1

0.2.1.0

A utility library for strings, numbers, arrays and words.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

31/12 2013

0.2.0

0.2.0.0

A utility library for strings, numbers, arrays and words.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

27/11 2013

0.1.2

0.1.2.0

A utility library for strings, numbers, arrays and words.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

27/11 2013

0.1.1

0.1.1.0

A utility library for strings, numbers, arrays and words.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest

27/11 2013

0.1.0

0.1.0.0

A utility library for strings, numbers, arrays and words.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Glynn Forrest