PHPackages                             davelima/focus-nfe-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. davelima/focus-nfe-php

ActiveLibrary

davelima/focus-nfe-php
======================

FocusNFE PHP client

v1.1.0(1mo ago)0111↓100%MITPHPPHP ^8.1

Since Aug 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/davelima/focus-nfe-php)[ Packagist](https://packagist.org/packages/davelima/focus-nfe-php)[ RSS](/packages/davelima-focus-nfe-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

Focus NFE PHP Client
====================

[](#focus-nfe-php-client)

PT-BR
-----

[](#pt-br)

#### ⚠️ Esse projeto é um trabalho em andamento ⚠️

[](#warning-esse-projeto-é-um-trabalho-em-andamento-warning)

Client para a API da [FocusNFE](https://focusnfe.com.br). Este client é feito para abstrair algumas das principais funcionalidades da API dentro do ecossistema PHP.

Apesar de utilizar alguns pacotes do Symfony, este projeto pode ser usado em qualquer aplicação PHP, independente de qualquer framework.

### Funcionalidades suportadas:

[](#funcionalidades-suportadas)

#### NFSe

[](#nfse)

- Geração/autorização
- Cancelamento
- Consulta
- Envio por email (através da API)

### TO DO:

[](#to-do)

- NFe
- NFCe

Exemplos das funcionalidades suportadas podem ser encontrados em `examples/`

### Dependências

[](#dependências)

- PHP &gt;= 8.2

### Testes e controle de qualidade

[](#testes-e-controle-de-qualidade)

Além de testes unitários, este projeto utiliza o [PHPStan](https://github.com/phpstan/phpstan) e o [PHPMetrics](https://github.com/phpmetrics/PhpMetrics/) para controle de qualidade.

Para executar os testes: `composer test`

Para executar os testes e gerar um report de coverage: `composer test-with-coverage` (resultados serão exportados em HTML dentro de `tests/coverage/`)

Para executar o phpstan: `composer phpstan`

Para executar o phpmetrics: `composer phpmetrics` (resultados serão exportados em HTML dentro de `phpmetrics/`)

É possível também visualizar o status atual de coverage e phpmetrics dentro deste repositório.

EN
--

[](#en)

#### ⚠️ This project is a work in progress ⚠️

[](#warning-this-project-is-a-work-in-progress-warning)

This is a client for [FocusNFE](https://focusnfe.com.br)'s API. This client is made to abstract some of the API features inside PHP's ecosystem.

This project uses some Symfony packages, but it can be used in any PHP application in a framework-agnostic way.

### Supported features:

[](#supported-features)

#### NFSe

[](#nfse-1)

- Authorization
- Cancel
- Retrieving
- Email sending (through the API)

### TO DO:

[](#to-do-1)

- NFe
- NFCe

You can find examples of the supported features in `examples/`

### Dependencies

[](#dependencies)

- PHP &gt;= 8.2

### Testing and quality control

[](#testing-and-quality-control)

In addition to unit tests, we use [PHPStan](https://github.com/phpstan/phpstan)and [PHPMetrics](https://github.com/phpmetrics/PhpMetrics/) to ensure quality control in this project.

To run tests: `composer test`

To run tests and get a coverage report: `composer test-with-coverage` (results will be written in HTML inside `tests/coverage/`)

To run phpstan: `composer phpstan`

To run phpmetrics: `composer phpmetrics` (results will be written in HTML inside `phpmetrics/`)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance90

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~955 days

Total

2

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e86f81f9bf6a958cc88967a56a7339a8c64abcfa061bd733520bf06de3b3f730?d=identicon)[davelima](/maintainers/davelima)

---

Top Contributors

[![davelima](https://avatars.githubusercontent.com/u/6919540?v=4)](https://github.com/davelima "davelima (10 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/davelima-focus-nfe-php/health.svg)

```
[![Health](https://phpackages.com/badges/davelima-focus-nfe-php/health.svg)](https://phpackages.com/packages/davelima-focus-nfe-php)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
