All Projects → brazanation → php-states

brazanation / php-states

Licence: other
Library to provides Brazilian States as Value Objects in PHP

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php-states

burocracia.cr
No dependency Crystal shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP
Stars: ✭ 21 (-4.55%)
Mutual labels:  brazil, brasil
transparencia-dados-abertos-brasil
A survey of Brazilian states' and municipalities' transparency and open data portals, as well as institutional websites, obtained from several public data sources. 🇧🇷 Levantamento de portais estaduais e municipais de transparência e dados abertos, bem como os portais institucionais, obtido a partir de diversas fontes públicas de dados.
Stars: ✭ 46 (+109.09%)
Mutual labels:  brazil, brasil
cnpj
🇧🇷 Format, validate and generate CNPJ numbers in Node & Deno
Stars: ✭ 26 (+18.18%)
Mutual labels:  brazil, brasil
politicos
API com todos os candidatos Brasileiros!
Stars: ✭ 63 (+186.36%)
Mutual labels:  brazil, brazilian
nuvem-candidatos
🇧🇷 Nuvem de palavras com os planos de governo dos candidatos à presidência em 2018
Stars: ✭ 20 (-9.09%)
Mutual labels:  brazil, brasil
state-codes
Brazilian states 2-letter codes (ISO 3166-2:BR), official abbreviations throughout the country's history
Stars: ✭ 23 (+4.55%)
Mutual labels:  brazil, states
laravel-states-cities-brazil
🇧🇷 Base de dados com todos os estados e cidades do Brasil
Stars: ✭ 61 (+177.27%)
Mutual labels:  brasil, estados
computeiro
Computer science courses, books and exams in your pocket. Built with Flutter and Free! ❤️
Stars: ✭ 27 (+22.73%)
Mutual labels:  brazil, brasil
enredo
Linguagem de programação moderna em portugues, baseada em JS
Stars: ✭ 35 (+59.09%)
Mutual labels:  brazil, brasil
sidrar
A R interface to IBGE's SIDRA API
Stars: ✭ 49 (+122.73%)
Mutual labels:  brazil, brasil
covid19-br-info
Coronavirus frontend info about Brazil's states and cities
Stars: ✭ 12 (-45.45%)
Mutual labels:  brazil, brasil
ibge
🌎 Data collection of geographical divisions of Brazil by IBGE (https://servicodados.ibge.gov.br/api/docs)
Stars: ✭ 28 (+27.27%)
Mutual labels:  brazil, brasil
states-cities-brazil
🇧🇷 Base de dados com todos os estados e cidades do Brasil
Stars: ✭ 37 (+68.18%)
Mutual labels:  brasil, estados
pix-payload-generator.net
Gerar payload para qrcode estático PIX. (Sistema de pagamento instantâneo do Brasil) Sem a necessidade de conexão com um PSP.
Stars: ✭ 23 (+4.55%)
Mutual labels:  brazil, brasil
football-team-flags
Flags from national teams made with css 🏳
Stars: ✭ 19 (-13.64%)
Mutual labels:  brazil, brazilian
brazil-civil-registry-data
Raw scrapings of ARPEN https://transparencia.registrocivil.org.br/
Stars: ✭ 35 (+59.09%)
Mutual labels:  brazil, brasil
nfe
Bibliotecas para geração, validação, assinatura e transmissão de XMLs da NFe em Go
Stars: ✭ 20 (-9.09%)
Mutual labels:  brazil, brasil
hackdisrupt
[private beta] comece a aprender programação com uma experiência nova
Stars: ✭ 14 (-36.36%)
Mutual labels:  brasil
city-codes
Brazilian city names and official codes, IBGE, LexML and others
Stars: ✭ 39 (+77.27%)
Mutual labels:  brazil
viacep
ViaCEP - Consulte CEPs de todo o Brasil
Stars: ✭ 44 (+100%)
Mutual labels:  brasil

Brazanation States

Build Status Scrutinizer Code Quality Code Coverage StyleCI

A PHP library to provide Brazilian States safer, easier and fun!

Installation

Install the library using composer. Add the following to your composer.json:

{
    "require": {
        "brazanation/states": "dev-master"
    }
}

Now run the install command.

$ composer.phar install

or

$ composer require brazanation/states dev-master

Usage

use Brazanation\States\State;

$state = State::acre();

echo $state->fullName; // Acre
echo $state->shortName; // AC
echo $state->code; // 12
echo $state->timezone; // America/Rio_Branco

or

use Brazanation\States\Acre;

$state = new Acre();

echo $state->fullName; // Acre
echo $state->shortName; // AC
echo $state->code; // 12
echo $state->timezone; // America/Rio_Branco

License

MIT, hell yeah!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].