Download the PHP package jcf/espiaonfe without Composer

On this page you can find all versions of the php package jcf/espiaonfe. 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 espiaonfe

Jcf/EspiaoNfe

Latest Version on Packagist Total Downloads

Pacote Laravel para integração com a API do EspiãoNFe. Este pacote fornece uma interface simples e elegante para interagir com todos os endpoints da API EspiãoNFe, facilitando o gerenciamento de certificados digitais, empresas, NFes, CTes, NFSe e muito mais.

Instalação

Você pode instalar o pacote via Composer:

Configuração

Após instalar o pacote, publique o arquivo de configuração:

Isso criará o arquivo config/espiaonfe.php em sua aplicação.

Em seguida, configure as variáveis de ambiente no seu arquivo .env:

Nota: O ESPIAONFE_BASE_URI é opcional e já possui um valor padrão (https://api.espiaonfe.com.br). Use apenas se precisar apontar para um ambiente diferente.

Uso

O pacote fornece uma API fluente estilo Laravel que torna o uso extremamente elegante e intuitivo:

✨ Métodos Intuitivos

O pacote inclui métodos auto-explicativos que tornam o código mais limpo e fácil de entender:

Tipo de Período (XMLs)

Modelos de Documentos

API Fluente ✨

O pacote utiliza query builders que permitem encadear métodos de forma fluente, similar ao Eloquent do Laravel:

Exemplo: Obter Empresas com Paginação

Exemplo: Trabalhar com Certificados

Exemplo: NF-e, CT-e e NFSe

Exemplo: XMLs e PDFs

📌 Entendendo tipoPeriodoEmissao() vs tipoPeriodoInclusao()

Estes métodos definem como o período de consulta será interpretado:

Exemplo Prático:

Exemplo: Resgate de XML

Exemplo: Logs

Validações e Tratamento de Erros

O pacote inclui validações automáticas e tratamento de erros robusto:

Validações Automáticas

Exceções Específicas

O pacote fornece exceções específicas para diferentes tipos de erros HTTP:

Configurações Avançadas

Timeout e Retry

Configure timeout e retry automático para requisições:

Logging de Requisições

Para debug, você pode habilitar o logging de todas as requisições:

Isso registrará no log do Laravel:

Changelog

Veja o CHANGELOG para obter informações sobre mudanças recentes.

Licença

Este pacote é de código aberto e está licenciado sob a Licença MIT.


All versions of espiaonfe with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
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 jcf/espiaonfe contains the following files

Loading the files please wait ...