zzantares/helpers

Includes a set of helper functions useful in some projects.

v1.0.3 2016-02-02 18:54 UTC

This package is not auto-updated.

Last update: 2024-05-11 16:23:37 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.