Skip to content

📫 A single interface to get address from any cep service

License

Notifications You must be signed in to change notification settings

a2insights/laracep

Repository files navigation

Cep

Latest Version on Packagist Total Downloads License: MIT

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.