1. Go to this page and download the library: Download paulo-hortelan/lara-cep library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
paulo-hortelan / lara-cep example snippets
use PauloHortelan\LaraCep\Facades\LaraCep;
$address = LaraCep::find('01001-000');
$address->zipCode; // 01001000
$address->state; // SP
$address->city; // Sao Paulo
$address->district; // Centro
$address->street; // Praca da Se...
$address->provider; // via_cep, open_cep, brasil_api...