PHP Classes

CEP Livre: Get the address in Brazil of a given CEP zip code

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 235 All time: 8,090 This week: 524Up
Version License PHP version Categories
cep-livre 1.0GNU General Publi...4.0Web services, Geography


This package is specific mainly for applications used in Brazil Brazil .

This class can get the address in Brazil of a given CEP zip code.

It can send an HTTP request to the CEP Livre API Web server get the address in Brazil of a given CEP zip code.

It returns the street address, region, city, state, latitude, longitude, area code (DDD) and IBGE's city code.

The class can also send an API request to get the CEP zip code of a given address.

It parses the JSON response and returns the decoded values.

An account in the CEP Livre site is necessary to obtain an API to access the service.

Picture of Rogerio Acquadro
Name: Rogerio Acquadro <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: ???
All time rank: 3648288 in Brazil Brazil
Week rank: 264 Up19 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file ceplivre.php Class class and example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,090
This week:524Up