A PHP library to provide Brazilian States safer, easier and fun!
Install the library using composer. Add the following to your composer.json:
{
"require": {
"brazanation/states": "dev-master"
}
}Now run the install command.
$ composer.phar installor
$ composer require brazanation/states dev-masteruse Brazanation\States\State;
$state = State::acre();
echo $state->fullName; // Acre
echo $state->shortName; // AC
echo $state->code; // 12
echo $state->timezone; // America/Rio_Brancoor
use Brazanation\States\Acre;
$state = new Acre();
echo $state->fullName; // Acre
echo $state->shortName; // AC
echo $state->code; // 12
echo $state->timezone; // America/Rio_BrancoMIT, hell yeah!

