Download the PHP package brunocouty/busca-via-cep without Composer

On this page you can find all versions of the php package brunocouty/busca-via-cep. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package busca-via-cep

Sobre o Busca Via Cep PHP

Este pacote o ajudará a encontrar dados de um endereço com base em um cep informado.

Nota 1: Este pacote utiliza o webservice ViaCep e funciona somente com códigos postais brasileiros.

Nota 2: Este pacote pode ser usado com qualquer framework ou aplicação PHP. Neste documento, ensino a instalação em Laravel.

Requisitos:

Utilização

Primeiro, faça o download da biblioteca através do composer:

Agora, adicione o Service Provider no array de providers, no arquivo "config/app.php":

Para encontrar os dados de um Cep, basta instanciar a classe Cep e chamar o método buscar, passando como parâmetro uma string contendo o cep.

Resposta (status code 200):

Caso haja algum problema, você receberá um status code 422 com o seguinte conteúdo:

Gostou deste conteúdo? Me pague um café!

Yeah! Você gostou deste pacote? Me pague um café e me ajude a manter este pacote atualizado!

Quando você me ajuda, você tem acesso a posts exclusivos com muitas coisas úteis sobre PHP, Laravel, AngularJS, VueJS, Ionic, e muito mais! Você aprenderá a criar seus próprios pacotes PHP (independentes de framework), resolver problemas em seu código fonte... Um excelente conteúdo, sempre atualizado!

Você pode me ajudar com R$ 1 / mês e já terá acesso a meu conteúdo privado! E mais, precisa de ajuda com seu projeto? Eu posso ajudar você! Acesse https://apoia.se/brunocouty, posso te ajudar via e-mail ou skype!

https://apoia.se/brunocouty


All versions of busca-via-cep with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ~6.0
php Version >=5.5.9
illuminate/contracts Version ~5.1
illuminate/http Version ~5.1
illuminate/support Version ~5.1
illuminate/database Version ~5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package brunocouty/busca-via-cep contains the following files

Loading the files please wait ....