https://github.com/saade/cep-php
Async, high availability brazilian CEP finder with multiple providers for redundancy.
https://github.com/saade/cep-php
Last synced: 6 months ago
JSON representation
Async, high availability brazilian CEP finder with multiple providers for redundancy.
- Host: GitHub
- URL: https://github.com/saade/cep-php
- Owner: saade
- License: mit
- Created: 2023-10-25T12:49:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T20:07:57.000Z (11 months ago)
- Last Synced: 2024-11-26T19:51:48.549Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 58.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# High availability brazilian CEP finder with service redundancy
[](https://packagist.org/packages/saade/cep-php)
[](https://packagist.org/packages/saade/cep-php)## Installation
You can install the package via composer:
```bash
composer require saade/cep-php
```## Usage
```php
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](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Saade](https://github.com/saade)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.