saade / cep-php
Async, high availability brazilian CEP finder with multiple providers for redundancy.
Fund package maintenance!
saade
Requires
- php: ^8.1
- saloonphp/saloon: ^3.0
- spatie/laravel-package-tools: ^1.14.0
This package is auto-updated.
Last update: 2024-11-08 20:52:58 UTC
README
Installation
You can install the package via composer:
composer require saade/cep-php
Usage
use Saade\Cep; $cep = Cep::get('28895-190') $cep->cep; // 28895190 $cep->state; // RJ $cep->city; // Rio das Ostras $cep->neighborhood; // Costazul $cep->street; // Rua Nelson Pecegueiro do Amaral $cep->provider; // correios / correios-alt / viacep / brasil-api
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.