Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fulviocanducci committed Mar 11, 2020
1 parent 6ffc25a commit 83aa12e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Se você utiliza o `Framework` [Laravel](https://www.laravel.com) segue logo aba
...
Canducci\Cep\Providers\CepServiceProvider::class
]
```


4. Dentro do mesmo arquivo (`app.php`) configure os apelidos (`Facades`) como exemplo:
Expand All @@ -40,13 +39,12 @@ Se você utiliza o `Framework` [Laravel](https://www.laravel.com) segue logo aba
'Cep' => Canducci\Cep\Facades\Cep::class,
'Endereco' => Canducci\Cep\Facades\Endereco::class
]
```

***Observação:*** *o item 4 é opcional*.

5. Como utilizar?

````php
```php
Route::get('/cep', function(\Canducci\Cep\Cep $cep){
$cepResponse = $cep->find('19200000');
$data = $cepResponse->getCepModel();
Expand Down

0 comments on commit 83aa12e

Please sign in to comment.