PHPackages                             digfish/php-factpt-cli - 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. digfish/php-factpt-cli

ActiveLibrary[API Development](/categories/api)

digfish/php-factpt-cli
======================

Fact.pt Online Invoicing API Client

02PHP

Since Oct 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/digfish/php-factpt-cli)[ Packagist](https://packagist.org/packages/digfish/php-factpt-cli)[ RSS](/packages/digfish-php-factpt-cli/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

### php-factpt-cli

[](#php-factpt-cli)

PHP API Client implementation for the Online invoicing System solution provided by [FACT](http://www.fact.pt).

Install
-------

[](#install)

The package is hosted on [packagist](http://packagist.org). To install run:

```
composer install digfish/php-factpt-cli

```

Environment variables
---------------------

[](#environment-variables)

The variable `FACTPT_TEST_API_KEY` should hold the value of your API key. You can set this via a .`env` file or your own code using `putenv` or `$_ENV['FACTPT_TEST_API_KEY']`. If there is no such a file, it is assumed that is running on production. You must set the env var `FACTPT_API_KEY` on your code for production.

What is implemented
-------------------

[](#what-is-implemented)

MethodAPIlistDocumentsGET /documentscreateCustomerPOST /clientsgetCustomerGET /clients/:idlistCustomersGET /clientssearchCustomersGET /clients?q=searchcreateProductPOST /productsgetProductGET /products/:idlistProductsGET /products/searchProductsGET /products?q=searchcreateInvoicePOST /documents/invoicegetDocumentGET /documents/:idlistTaxesGET /taxesgetTaxsearchTax---

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![digfish](https://avatars.githubusercontent.com/u/717142?v=4)](https://github.com/digfish "digfish (12 commits)")

### Embed Badge

![Health badge](/badges/digfish-php-factpt-cli/health.svg)

```
[![Health](https://phpackages.com/badges/digfish-php-factpt-cli/health.svg)](https://phpackages.com/packages/digfish-php-factpt-cli)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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