PHPackages                             yiibr/yii2-correios - 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. yiibr/yii2-correios

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

yiibr/yii2-correios
===================

Locates an address in Brazil by postal code

2.0.4(9y ago)1214.2k9[1 issues](https://github.com/yiibr/yii2-correios/issues)[1 PRs](https://github.com/yiibr/yii2-correios/pulls)BSD 3-ClausePHP

Since Mar 16Pushed 6y ago6 watchersCompare

[ Source](https://github.com/yiibr/yii2-correios)[ Packagist](https://packagist.org/packages/yiibr/yii2-correios)[ Docs](https://github.com/yiibr/yii2-correios)[ RSS](/packages/yiibr-yii2-correios/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

yii2-correios
=============

[](#yii2-correios)

This extension allows automatic completion and search Brazilian address.

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)[![Latest Stable Version](https://camo.githubusercontent.com/3e8c8136c8d481d69d186931b9a23d8b5fc5008a92b5cb9709d43fc6ef11f60d/68747470733a2f2f706f7365722e707567782e6f72672f79696962722f796969322d636f727265696f732f762f737461626c652e706e67)](https://packagist.org/packages/yiibr/yii2-correios)[![Code Climate](https://camo.githubusercontent.com/1c906e5b1890529c0f6b3afb69db60a60c5a1a82d9c4d851abdc8c7b574c2b67/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f79696962722f796969322d636f727265696f732f6261646765732f6770612e737667)](https://codeclimate.com/github/yiibr/yii2-correios)[![Total Downloads](https://camo.githubusercontent.com/81754503a4d0d9cf55b877b353b6f1ac9db408604f85bc7727bb4523b2444e20/68747470733a2f2f706f7365722e707567782e6f72672f79696962722f796969322d636f727265696f732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiibr/yii2-correios)

### Installation

[](#installation)

Add to the `require` section of your `composer.json` file:

```
"yiibr/yii2-correios": "*"

```

### Configuration

[](#configuration)

On your controller.

```
public function actions()
{
    return [
        ...
        'addressSearch' => 'yiibr\correios\CepAction'
        ...
    ];
}
```

### How to use

[](#how-to-use)

On your view file.

```

...
