{"id":18370979,"url":"https://github.com/jansenfelipe/cep-gratis","last_synced_at":"2025-04-10T21:28:03.565Z","repository":{"id":21529659,"uuid":"24848930","full_name":"jansenfelipe/cep-gratis","owner":"jansenfelipe","description":"Com esse pacote você poderá realizar consultas de CEP gratuitamente.","archived":false,"fork":false,"pushed_at":"2019-08-23T22:26:52.000Z","size":98,"stargazers_count":65,"open_issues_count":3,"forks_count":30,"subscribers_count":10,"default_branch":"4.0","last_synced_at":"2025-03-15T21:50:27.093Z","etag":null,"topics":["cep","consulta-cep","correios"],"latest_commit_sha":null,"homepage":"https://jansenfelipe.github.io/phpgratis/","language":"HTML","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/jansenfelipe.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":"2014-10-06T14:21:18.000Z","updated_at":"2023-12-02T07:27:11.000Z","dependencies_parsed_at":"2022-08-21T16:41:16.163Z","dependency_job_id":null,"html_url":"https://github.com/jansenfelipe/cep-gratis","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jansenfelipe%2Fcep-gratis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jansenfelipe%2Fcep-gratis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jansenfelipe%2Fcep-gratis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jansenfelipe%2Fcep-gratis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jansenfelipe","download_url":"https://codeload.github.com/jansenfelipe/cep-gratis/tar.gz/refs/heads/4.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248300560,"owners_count":21080752,"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":["cep","consulta-cep","correios"],"created_at":"2024-11-05T23:42:32.857Z","updated_at":"2025-04-10T21:28:03.541Z","avatar_url":"https://github.com/jansenfelipe.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CEP Grátis\n[![Travis](https://api.travis-ci.org/jansenfelipe/cep-gratis.svg?branch=4.0)](https://travis-ci.org/jansenfelipe/cep-gratis)\n[![StyleCI](https://styleci.io/repos/24848930/shield?branch=4.0)](https://styleci.io/repos/24848930?branch=4.0)\n[![Latest Stable Version](https://poser.pugx.org/jansenfelipe/cep-gratis/v/stable.svg)](https://packagist.org/packages/jansenfelipe/cep-gratis) \n[![Total Downloads](https://poser.pugx.org/jansenfelipe/cep-gratis/downloads.svg)](https://packagist.org/packages/jansenfelipe/cep-gratis) \n[![MIT license](https://poser.pugx.org/jansenfelipe/nfephp-serialize/license.svg)](http://opensource.org/licenses/MIT)\n\nCom esse pacote você poderá realizar consultas de CEP gratuitamente.\n\nPara evitar problemas com indisponibilidade de serviços, a consulta é realizada paralelamente em providers diferentes:\n\n* [Website dos correios](http://www.buscacep.correios.com.br/sistemas/buscacep/)\n* [API Viacep](https://viacep.com.br/)\n\nA library irá retornar para você a resposta mais rápida, aumentando assim a performance da consulta.\n\n### Changelog\n\n* 4.0.2 - 27/03/2018 Consulta direto na tela de detalhe dos Correios. Obrigado [@adrianogl](https://github.com/adrianogl)\n* 4.0.0 - 11/03/2017 Consulta em múltiplos providers, interface HttpClient\n* 3.0.1 - 10/03/2016 Tratar cep inexistente. Obrigado [@nunesbeto](https://github.com/nunesbeto)\n* 3.0.0 - 08/03/2016 Up version fabpot/goutte\n* 2.0.4 - 05/03/2016 Ajuste pois o site dos Correios sofreu alteração. Obrigado [@devLopez](https://github.com/devLopez)\n\n\n### Como utilizar\n\nAdicione a library\n\n```shell\n$ composer require jansenfelipe/cep-gratis\n```\n    \nAdicione o autoload.php do composer no seu arquivo PHP.\n\n```php\nrequire_once 'vendor/autoload.php';  \n```\n\nAgora basta chamar o método `CepGratis::search($cep)`\n\n```php\nuse JansenFelipe\\CepGratis\\CepGratis;\n\n$address = CepGratis::search('31030080'); \n```\n\n### Gostou? Conheça também\n\n* [CnpjGratis](https://github.com/jansenfelipe/cnpj-gratis)\n* [CpfGratis](https://github.com/jansenfelipe/cpf-gratis)\n* [CidadesGratis](https://github.com/jansenfelipe/cidades-gratis)\n* [NFePHPSerialize](https://github.com/jansenfelipe/nfephp-serialize)\n\n### License\n\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjansenfelipe%2Fcep-gratis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjansenfelipe%2Fcep-gratis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjansenfelipe%2Fcep-gratis/lists"}