Download the PHP package mendesalexandre/php-nfse-nacional without Composer

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

mendesalexandre/php-nfse-nacional

CI Packagist Version PHP Version

SDK PHP framework-agnostic para integração com NFS-e Nacional (Padrão Brasileiro SEFIN). Funciona em Laravel, Symfony, projeto vanilla — qualquer coisa com PHP 8.1+ e suporte a PSR-3/PSR-18.

📖 Documentação:

Status

Ciclo de vida da NFS-e completo: emissão, consulta, cancelamento, substituição, download e DANFSe NT 008/2026. PHPStan level 8 limpo, 102 testes verdes, validado ponta-a-ponta em homologação SEFIN (NFS-e #57, chave 51079092200179028000138000000000005726057774456203). Pré-1.0 — API pode sofrer ajustes minor antes do 1.0.0; ver CHANGELOG.

Por que

Requisitos

Instalação

Uso rápido

Cancelamento

Substituição

Cancela uma NFS-e e a vincula a uma substituidora previamente emitida. A substituidora precisa ter sido emitida antes via $nfse->emitir(...).

Eventos customizados

Pra outros tipos de evento que aparecerem no leiaute, implemente a interface EventoNfse e use o EventoBuilder diretamente — sem alterar o SDK:

Configuração OpenSSL

OpenSSL 3.5+ (Fedora 43, RHEL 9) desabilita SHA1 por padrão. A DPS do SEFIN usa rsa-sha1 — sem habilitar legacy, openssl_sign falha com error:03000098:digital envelope routines::invalid digest.

Opção 1 (recomendada em prod): env var

Criar /etc/ssl/openssl-sha1.cnf:

Setar no Supervisor/php-fpm:

Opção 2 (dev/local): runtime

Arquitetura

Roadmap

Licença

MIT


All versions of php-nfse-nacional with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-dom Version *
ext-openssl Version *
ext-libxml Version *
ext-zlib Version *
ext-mbstring Version *
psr/http-client Version ^1.0
psr/http-message Version ^1.1 || ^2.0
psr/http-factory Version ^1.0
psr/log Version ^3.0
guzzlehttp/guzzle Version ^7.5
tecnickcom/tcpdf Version ^6.7
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 mendesalexandre/php-nfse-nacional contains the following files

Loading the files please wait ...