PHPackages                             lsnepomuceno/laravel-brazilian-ceps - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lsnepomuceno/laravel-brazilian-ceps

ActivePackage[Utility &amp; Helpers](/categories/utility)

lsnepomuceno/laravel-brazilian-ceps
===================================

A package for querying zip codes for Brazilian addresses.

1.1.0(1y ago)322.4k↓43.3%4[1 PRs](https://github.com/lsnepomuceno/laravel-brazilian-ceps/pulls)MITPHPPHP &gt;=8.1 &lt;8.5CI passing

Since Dec 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lsnepomuceno/laravel-brazilian-ceps)[ Packagist](https://packagist.org/packages/lsnepomuceno/laravel-brazilian-ceps)[ RSS](/packages/lsnepomuceno-laravel-brazilian-ceps/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (10)Used By (0)

Search addresses easily with Laravel Brazilian CEPs
===================================================

[](#search-addresses-easily-with-laravel-brazilian-ceps)

 [ ![Latest Stable Version](https://camo.githubusercontent.com/e598ec46c7e561631357ad2b964a93f1a664d2514775f465e333946b7ff05377/68747470733a2f2f706f7365722e707567782e6f72672f6c736e65706f6d7563656e6f2f6c61726176656c2d6272617a696c69616e2d636570732f76) ](https://github.com/lsnepomuceno/laravel-brazilian-ceps/releases/latest) [ ![Total Downloads](https://camo.githubusercontent.com/5975fad4d26791cba24962c1698eefa2167b9b74ba20923b9bf45f770e13a849/68747470733a2f2f706f7365722e707567782e6f72672f6c736e65706f6d7563656e6f2f6c61726176656c2d6272617a696c69616e2d636570732f646f776e6c6f616473) ](https://packagist.org/packages/lsnepomuceno/laravel-brazilian-ceps/stats) [ ![Latest Unstable Version](https://camo.githubusercontent.com/e4039f1ea4d74200c50bff00c73dc86e43e0a23a3d98ede2cf4e8b274257e35f/68747470733a2f2f706f7365722e707567782e6f72672f6c736e65706f6d7563656e6f2f6c61726176656c2d6272617a696c69616e2d636570732f762f756e737461626c65) ](https://github.com/lsnepomuceno/laravel-brazilian-ceps/tree/dev) [ ![License](https://camo.githubusercontent.com/a9adf3ec4381a3ee2eacc220f3349ad238bc73dec6d8a1a5716b0b8bedbefb42/68747470733a2f2f706f7365722e707567782e6f72672f6c736e65706f6d7563656e6f2f6c61726176656c2d6272617a696c69616e2d636570732f6c6963656e7365) ](https://github.com/lsnepomuceno/laravel-brazilian-ceps/blob/main/LICENSE.md) [ ![Tests](https://github.com/lsnepomuceno/laravel-brazilian-ceps/actions/workflows/action_laravel_11.yml/badge.svg?branch=main) ](https://github.com/lsnepomuceno/laravel-brazilian-ceps/actions/workflows/main_action.yml)

Minimum requirements
====================

[](#minimum-requirements)

- PHP: ^8.1, ^8.2, ^8.3 ^8.4
- Laravel: 9, 10, 11 or 12
- PHP Extensions: fileinfo, mbstring, json

Install
=======

[](#install)

Require this package in your composer.json and update composer. This will download the package and the dependencies libraries also.

```
composer require lsnepomuceno/laravel-brazilian-ceps
```

Export the settings file using the command below

```
php artisan vendor:publish --tag=brazilian-ceps
```

Usage
=====

[](#usage)

Using CepService:
-----------------

[](#using-cepservice)

```
