{"id":13405293,"url":"https://github.com/brazanation/php-states","last_synced_at":"2025-04-22T12:49:47.558Z","repository":{"id":40605239,"uuid":"80746816","full_name":"brazanation/php-states","owner":"brazanation","description":"Library to provides Brazilian States as Value Objects in PHP","archived":false,"fork":false,"pushed_at":"2018-05-01T06:10:44.000Z","size":21,"stargazers_count":25,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T01:36:52.656Z","etag":null,"topics":["brasil","braza","brazil","brazilian","estados","php","php7","states"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brazanation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-02T16:59:00.000Z","updated_at":"2022-09-18T20:43:48.000Z","dependencies_parsed_at":"2022-09-04T11:20:48.963Z","dependency_job_id":null,"html_url":"https://github.com/brazanation/php-states","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazanation%2Fphp-states","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazanation%2Fphp-states/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazanation%2Fphp-states/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brazanation%2Fphp-states/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brazanation","download_url":"https://codeload.github.com/brazanation/php-states/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250243679,"owners_count":21398383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brasil","braza","brazil","brazilian","estados","php","php7","states"],"created_at":"2024-07-30T19:01:58.567Z","updated_at":"2025-04-22T12:49:47.458Z","avatar_url":"https://github.com/brazanation.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"Brazanation States\n=====================\n\n[![Build Status](https://travis-ci.org/brazanation/php-states.svg?branch=master)](https://travis-ci.org/brazanation/php-states)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/brazanation/php-states/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/brazanation/php-states/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/brazanation/php-states/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/brazanation/php-states/?branch=master)\n[![StyleCI](https://styleci.io/repos/80746816/shield)](https://styleci.io/repos/80746816)\n\nA PHP library to provide Brazilian States safer, easier and fun!\n\nInstallation\n------------\n\nInstall the library using [composer][1]. Add the following to your `composer.json`:\n\n```json\n{\n    \"require\": {\n        \"brazanation/states\": \"dev-master\"\n    }\n}\n```\n\nNow run the `install` command.\n\n```sh\n$ composer.phar install\n```\n\nor\n\n```sh\n$ composer require brazanation/states dev-master\n```\n\n### Usage\n\n```php\nuse Brazanation\\States\\State;\n\n$state = State::acre();\n\necho $state-\u003efullName; // Acre\necho $state-\u003eshortName; // AC\necho $state-\u003ecode; // 12\necho $state-\u003etimezone; // America/Rio_Branco\n```\n\nor\n\n```php\nuse Brazanation\\States\\Acre;\n\n$state = new Acre();\n\necho $state-\u003efullName; // Acre\necho $state-\u003eshortName; // AC\necho $state-\u003ecode; // 12\necho $state-\u003etimezone; // America/Rio_Branco\n```\n\n### License\n\nMIT, hell yeah!\n\n[1]: http://getcomposer.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrazanation%2Fphp-states","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrazanation%2Fphp-states","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrazanation%2Fphp-states/lists"}