PHPackages                             juancarlo99/read-xml-cte-nfe - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. juancarlo99/read-xml-cte-nfe

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

juancarlo99/read-xml-cte-nfe
============================

biblioteca que faz a leitura do arquivos xml tipo CT-e e NF-e.

2.0.11(1y ago)0417↓33.3%1[2 PRs](https://github.com/juancarlo99/read-xml-cte-nfe/pulls)MITPHPPHP &gt;=8.0

Since Mar 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/juancarlo99/read-xml-cte-nfe)[ Packagist](https://packagist.org/packages/juancarlo99/read-xml-cte-nfe)[ RSS](/packages/juancarlo99-read-xml-cte-nfe/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (25)Used By (0)

ReadXmlCteNfe
=============

[](#readxmlctenfe)

Biblioteca que faz a leitura do arquivos xml tipo CT-e e NF-e.

- ### Instalação:

    [](#instalação)

    ```
    composer require juancarlo99/read-xml-cte-nfe
    ```

     [Detalhes Aqui](https://packagist.org/packages/juancarlo99/read-xml-cte-nfe)
- ### Exemplo de Uso:

    [](#exemplo-de-uso)

    #### Exemplo NF-e

    [](#exemplo-nf-e)

                    ```

    use Xml\Read\Nfe;

    $nfe = new Nfe("./teste.xml");
    $dados = $nfe->all();

    ```

                    ```

    use Xml\Read\Nfe;

    // Pode ser usado as buscas separadamente.

    $dados = $nfe->getChave();
    $dados = $nfe->getIdentificacaoNFE();
    $dados = $nfe->getEmitente();
    $dados = $nfe->getDestinatario();
    $dados = $nfe->getExpedidor();
    $dados = $nfe->getServicos();
    $dados = $nfe->getTotal();
    $dados = $nfe->getCobranca();
    $dados = $nfe->getTransporte();

    ```

    #### Exemplo CT-e

    [](#exemplo-ct-e)

                    ```

    use Xml\Read\Cte;

    $nfe = new Cte("./cte.xml");

    // Pode ser usado as buscas separadamente.

    $dados = $nfe->getCabecalho();
    $dados = $nfe->getChave();
    $dados = $nfe->getDestinatario();
    $dados = $nfe->getEmitente();
    $dados = $nfe->getExpedidor();
    $dados = $nfe->getRecebedor();
    $dados = $nfe->getImposto();
    $dados = $nfe->getRemetente();
    $dados = $nfe->getServicos();

    ```

     Onde o parametro obrigatório no contrutor é o caminho para um arquivo xml.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 92% 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 ~28 days

Recently: every ~106 days

Total

24

Last Release

518d ago

Major Versions

1.10.0 → 2.0.02023-09-27

PHP version history (6 changes)1.0.0PHP ^8.0

1.0.2PHP ^8.0.1

1.0.4PHP ^7.4

1.0.6PHP &gt;=7.4

1.9.0PHP &gt;=8.0

2.0.0PHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/711bb2aa5509723fdf8f31db89c80a5a11b48f619601022a61d7542d2ffc2ac2?d=identicon)[Juan Carlos Nunes](/maintainers/Juan%20Carlos%20Nunes)

![](https://avatars.githubusercontent.com/u/92129993?v=4)[Vinícius Bonatti Benner](/maintainers/viniciusz1)[@viniciusz1](https://github.com/viniciusz1)

---

Top Contributors

[![juan-nunes-gruppe](https://avatars.githubusercontent.com/u/243978465?v=4)](https://github.com/juan-nunes-gruppe "juan-nunes-gruppe (23 commits)")[![juancarlo99](https://avatars.githubusercontent.com/u/53501435?v=4)](https://github.com/juancarlo99 "juancarlo99 (2 commits)")

### Embed Badge

![Health badge](/badges/juancarlo99-read-xml-cte-nfe/health.svg)

```
[![Health](https://phpackages.com/badges/juancarlo99-read-xml-cte-nfe/health.svg)](https://phpackages.com/packages/juancarlo99-read-xml-cte-nfe)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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