Inflexible, Inflector library for PHP
Inflexible aims to gather a collection of commonly used Inflectors into a single lib.
Some examples:
Inflexible::humanByte(1048576);
// 1.00 MB
Inflexible::textualize(1025433);
// One Million, Twenty Five Thousand, Four Hundred and Thirty Three
Inflexible::camelize('foo_bar');
// FooBar
Inflexible::humanize('FooBar');
// Foo Bar
Installation (get composer.phar):
$ php composer.phar require borisguery/inflexible
Checkout the Inflexible homepage
Written by Boris Guéry
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#