a2insights / laracep
A single interface to get address from any cep service
v0.2.0
2021-12-12 20:19 UTC
Requires
- php: ^7.3|^8.0
- ext-json: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.0.1
- illuminate/support: ^5.5|^6|^7|^8
- league/fractal: ^0.18.0
Requires (Dev)
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5|^9.0
README
Laravel Cep requires PHP 7.3-8.0. This particular version supports Laravel 5-8.
Cep | L^5.5 | L6 | L7 | L8 |
---|---|---|---|---|
0.0.1 | ✔️ | ❌ | ❌ | ❌ |
0.0.2 | ✔️ | ✔️ | ❌ | ❌ |
0.0.3 | ✔️ | ✔️ | ✔️ | ❌ |
0.1.0 | ✔️ | ✔️ | ✔️ | ❌ |
0.2.0 | ✔️ | ✔️ | ✔️ | ✔️ |
To get the latest version, simply require the project using Composer:
Installation
You can install the package via composer:
composer require a2insights/laracep
Usage
$adress = Cep::get($cep);
output:
Cep\Address { +cep: "66911030" +estado: "Pará" +municipio: "Belém" +bairro: "Maracajá (Mosqueiro)" +logradouro: "Rua Veiga Cabral" }
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email atila.danvi@outlook.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.