PHPackages                             arquivei/lite-api-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. [API Development](/categories/api)
4. /
5. arquivei/lite-api-php

ActiveLibrary[API Development](/categories/api)

arquivei/lite-api-php
=====================

Library that implements the Arquivei Lite Api.

1.0.0(5y ago)0251Apache-2.0PHPPHP 7.4.\*

Since Jun 10Pushed 4y ago17 watchersCompare

[ Source](https://github.com/arquivei/lite-api-php)[ Packagist](https://packagist.org/packages/arquivei/lite-api-php)[ RSS](/packages/arquivei-lite-api-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

arquivei/lite-api-php
=====================

[](#arquiveilite-api-php)

SDK for Arquivei Lite API.

Installation
------------

[](#installation)

```
composer require arquivei/lite-api-php
```

How to use
----------

[](#how-to-use)

#### Configuration

[](#configuration)

The first step you need to do is configure your api keys:

You need to input your credentials, all the other configurations you can keep the default.

```
LITE_API_HOST=https://lite-api.arquivei.com.br #default value
LITE_API_ENDPOINT_CONSULT_NFE=v1/nfe #default value
LITE_API_ENDPOINT_CONSULT_STATUS=/v1/nfe/status #default value

LITE_API_HEADER_CREDENTIAL_ID=A #ENTER YOUR API ID
LITE_API_HEADER_CREDENTIAL_KEY=B #ENTER YOUT API KEY
LITE_API_HEADER_CONTENT_TYPE=application/json #default value
```

#### Using NFe Consult Endpoint

[](#using-nfe-consult-endpoint)

```
require_once ('vendor/autoload.php');

$httpClient = new \Arquivei\LiteApi\Sdk\Dependencies\HttpGuzzleAdapter(new \GuzzleHttp\Client);

$nfeRequest = new Arquivei\LiteApi\Sdk\Requests\NFe();
$nfeRequest->setAccessKey("KEY");

$nfeEndpoint = new \Arquivei\LiteApi\Sdk\Endpoints\NFe();
$nfeEndpointResponse = $nfeEndpoint->execute($httpClient, $nfeRequest, new \Arquivei\LiteApi\Sdk\Config());
```

Or you can use the Facade:

```
require_once ('vendor/autoload.php');

$liteApiFacade = new \Arquivei\LiteApi\Sdk\Facade();
$nfeEndpointResponse = $liteApiFacade->nfe("KEY");
```

#### Using Status Consult Endpoint

[](#using-status-consult-endpoint)

```
require_once ('vendor/autoload.php');

$httpClient = new \Arquivei\LiteApi\Sdk\Dependencies\HttpGuzzleAdapter(new \GuzzleHttp\Client);

$statusRequest = new Arquivei\LiteApi\Sdk\Requests\Status();
$statusRequest->setAccessKey("KEY");

$statusEndpoint = new \Arquivei\LiteApi\Sdk\Endpoints\Status();
$statusEndpointResponse = $statusEndpoint->execute($httpClient, $statusRequest, new \Arquivei\LiteApi\Sdk\Config());
```

Or you can use the Facade:

```
require_once ('vendor/autoload.php');

$liteApiFacade = new \Arquivei\LiteApi\Sdk\Facade();
$statusEndpointResponse = $liteApiFacade->status("KEY");
```

#### Tests

[](#tests)

Run unit tests:

```
./vendor/bin/phpunit tests/

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Unknown

Total

1

Last Release

2168d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22685632?v=4)[Qive (Antiga Arquivei)](/maintainers/arquivei)[@arquivei](https://github.com/arquivei)

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

---

Top Contributors

[![esilvajr](https://avatars.githubusercontent.com/u/7405198?v=4)](https://github.com/esilvajr "esilvajr (3 commits)")[![AndreLazari](https://avatars.githubusercontent.com/u/10053606?v=4)](https://github.com/AndreLazari "AndreLazari (2 commits)")

---

Tags

apisdklitearquiveilite-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arquivei-lite-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/arquivei-lite-api-php/health.svg)](https://phpackages.com/packages/arquivei-lite-api-php)
```

###  Alternatives

[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[kucoin/kucoin-futures-php-sdk

PHP SDK for KuCoin Futures API

111.9k](/packages/kucoin-kucoin-futures-php-sdk)

PHPackages © 2026

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