PHP code example of a2insights / laracep

1. Go to this page and download the library: Download a2insights/laracep 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/ */

    

a2insights / laracep example snippets


$adress = Cep::get($cep);

Cep\Address {
  +cep: "66911030"
  +estado: "Pará"
  +municipio: "Belém"
  +bairro: "Maracajá (Mosqueiro)"
  +logradouro: "Rua Veiga Cabral"
}