Skip to content
Consulta a múltiplos serviços de CEP online, gratuito
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md Update readme.md Aug 13, 2019
composer.json
test.php

README.md

CEP Grátis

Consulta online à diversos serviços gratuitos de CEP online.

Necessário

Supported PHP version

Dependências

Requires Guzzle

Serviços suportados

Instalação

É recomendada a utilização via composer:

composer require wead/cep-gratis

Uso

Exemplo de uso

<?php

require "vendor/autoload.php";

use Wead\ZipCode\Search;

// web mania api (optional)
$webMania = [
    'apiKey' => 'NHRvLagxDUWw70Guhd4fMSKccftSjvtL',
    'apiSecret' => 'qVB3AmE2N5UKSL2ok01YP6gVUEqERYQLiPGtye65C6OQZAd0'
];

$search = new Search;
$search->setCredential('webMania', $webMania);

var_dump($search->getAddressFromZipcode('03624010'));
You can’t perform that action at this time.