PHP Classes

Correios: Calculate postal freight and Brazil CEP zip code

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 193 All time: 8,491 This week: 284Up
Version License PHP version Categories
correios 1.5BSD License5.0.0PHP 5, E-Commerce, Web services, Geog...
Description Author
This package is specific mainly for applications used in Brazil Brazil .

This class can calculate postal freight and Brazil CEP zip code.

It can send an HTTP request to Correios API Web server to calculate the cost of shipping a package with given weight and size, between two locations via Correios postal service.

The class can also send HTTP requests to the Correios sites to find the CEP zip code of a given address or the address of a given CEP zip code.

It can also get a link to the page with package tracking information as well its QR code URL and the package delivery status.

In Portuguese:

Obtenha informações dos serviços dos Correios diretamente do seu site.

Por enquanto, os serviços disponibilizados pela classe são:

- Cálculo de valor e prazo de frete
- Consulta de endereço a partir do CEP
- Consulta de CEP a partir do endereço
- Obter o link de rastreamento para o código de um objeto
- Obter o link do QR code do código de rastreamento de um objeto
- Obter o histórico de um objeto em formatos HTML e array

Picture of Julio Cezar Kronbauer
  Performance   Level  
Name: Julio Cezar Kronbauer <contact>
Classes: 11 packages by
Country: Brazil Brazil
Age: 40
All time rank: 2172143 in Brazil Brazil
Week rank: 592 Up35 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Correios.Class.php Class The main file
Accessible without login Plain text file Exemplos.php Example Exemplos de uso

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,491
This week:284Up
For more information send a message to info at phpclasses dot org.