{"id":30900838,"url":"https://github.com/gabrielmoura/laravel-cep","last_synced_at":"2025-09-09T05:57:16.859Z","repository":{"id":211516780,"uuid":"729324090","full_name":"gabrielmoura/laravel-cep","owner":"gabrielmoura","description":"A simple Laravel package to get CEP information","archived":false,"fork":false,"pushed_at":"2024-05-05T01:34:32.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T23:38:38.624Z","etag":null,"topics":["brasilapi","cep","laravel","opencep","postmon","redis","viacep"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/gabrielmoura/laravel-cep","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabrielmoura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-08T22:45:15.000Z","updated_at":"2025-08-17T00:04:23.000Z","dependencies_parsed_at":"2024-05-05T02:29:52.554Z","dependency_job_id":"fb7b0434-997c-4e8d-b66a-81e3ac74cae2","html_url":"https://github.com/gabrielmoura/laravel-cep","commit_stats":null,"previous_names":["gabrielmoura/laravel-cep"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gabrielmoura/laravel-cep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielmoura%2Flaravel-cep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielmoura%2Flaravel-cep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielmoura%2Flaravel-cep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielmoura%2Flaravel-cep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielmoura","download_url":"https://codeload.github.com/gabrielmoura/laravel-cep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielmoura%2Flaravel-cep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274250536,"owners_count":25249400,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["brasilapi","cep","laravel","opencep","postmon","redis","viacep"],"created_at":"2025-09-09T05:57:10.269Z","updated_at":"2025-09-09T05:57:16.844Z","avatar_url":"https://github.com/gabrielmoura.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel CEP: A Robust CEP Lookup Package\n\nA comprehensive Laravel package for fetching Brazilian zip code (CEP) information from multiple providers, offering seamless caching and flexibility.\n\n## Features\n\n* **Multiple Providers:** Integrates with:\n    * [ViaCEP](https://viacep.com.br/)\n    * [Postmon](https://postmon.com.br/) \n    * [Open CEP](https://opencep.com/)\n    * [Brasil API](https://brasilapi.com.br/)\n* **Intelligent Caching:** Streamlines performance with optional Redis caching. \n* **Ease of Use:** Simple interface via container or facade.\n* **Customizable:** Configure the preferred provider.\n\n## Installation\n\n```bash\ncomposer require gabrielmoura/laravel-cep\n```\n\n## Configuration\n\nPublish the configuration file (optional):\n\n```bash\nphp artisan vendor:publish --provider=\"Gabrielmoura\\LaravelCep\\CepServiceProvider\"\n```\n\nIn your `config/services.php`, adjust the default provider if desired:\n\n```php\n'cep' =\u003e [\n   'endpoint' =\u003e \\Gabrielmoura\\LaravelCep\\EndpointOption::POSTMON, // Example: Change to your preferred provider\n],\n```\n\n**Strongly consider installing `illuminate/redis` for automatic caching.**\n\n## Usage\n\n**Container:**\n\n```php\nuse Gabrielmoura\\LaravelCep\\CepService;\n$cepData = app(CepService::class)-\u003efind('01001000', true); // Enable caching\n```\n\n**Facade:**\n\n```php\nuse Gabrielmoura\\LaravelCep\\Cep;\n$cepData = Cep::find('01001000', true); // Enable caching\n```\n\n## Compatibility\n\n* Laravel 10.x\n\n## Contributing\n\nWe welcome contributions! Please refer to our [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n## License\n\nLaravel CEP is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielmoura%2Flaravel-cep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielmoura%2Flaravel-cep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielmoura%2Flaravel-cep/lists"}