zzantares / helpers
Includes a set of helper functions useful in some projects.
v1.0.3
2016-02-02 18:54 UTC
Requires
- php: >=5.4.0
- nesbot/carbon: ~1.21
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2024-12-21 19:52:20 UTC
README
This library contains a set of helpers functions that I've used in some projects.
Installation
Recommended installation is using Composer, if you do not have Composer please install it first.
In the root of your project execute the following:
$ composer require zzantares/helpers
Or add this to your composer.json
file:
{
"require": {
"zzantares/helpers": "dev-master"
}
}
Then perform the installation:
$ composer install
Usage
require_once 'vendor/autoload.php';
$result = number_to_letter(1200);
var_dump($result);
The above code produces the following output:
string 'Doce mil pesos 12/100 M.N.' (length=26)
Other helper functions will be listed here.