https://github.com/a2insights/laracep
:mailbox: A single interface to get address from any cep service
https://github.com/a2insights/laracep
cep correios laravel-cep
Last synced: 6 months ago
JSON representation
:mailbox: A single interface to get address from any cep service
- Host: GitHub
- URL: https://github.com/a2insights/laracep
- Owner: a2insights
- License: mit
- Created: 2020-01-02T02:17:46.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T01:27:16.000Z (over 2 years ago)
- Last Synced: 2025-04-12T10:46:44.570Z (6 months ago)
- Topics: cep, correios, laravel-cep
- Language: PHP
- Homepage:
- Size: 55.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cep
[](https://packagist.org/packages/a2insights/laracep)
[](https://packagist.org/packages/a2insights/laracep)
[](https://opensource.org/licenses/MIT)Laravel Cep requires [PHP](https://php.net) 7.3-8.0. This particular version supports Laravel 5-8.
| Cep | L^5.5 | L6 | L7 | L8 |
|-------|--------------------|--------------------|--------------------|--------------------|
| 0.0.1 |:heavy_check_mark: | :x: | :x: | :x: |
| 0.0.2 |:heavy_check_mark: |:heavy_check_mark: | :x: | :x: |
| 0.0.3 |:heavy_check_mark: |:heavy_check_mark: | :heavy_check_mark: | :x: |
| 0.1.0 |:heavy_check_mark: |:heavy_check_mark: | :heavy_check_mark: | :x: |
| 0.2.0 |:heavy_check_mark: |:heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |To get the latest version, simply require the project using [Composer](https://getcomposer.org):
## Installation
You can install the package via composer:
```bash
composer require a2insights/laracep
```## Usage
```php
$adress = Cep::get($cep);
```
output:```php
Cep\Address {
+cep: "66911030"
+estado: "Pará"
+municipio: "Belém"
+bairro: "Maracajá (Mosqueiro)"
+logradouro: "Rua Veiga Cabral"
}
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email atila.danvi@outlook.com instead of using the issue tracker.
## Credits
- [Atila Silva](https://github.com/Atiladanvi)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.