PHPackages                             marcortola/cuentica - 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. marcortola/cuentica

AbandonedArchivedLibrary[API Development](/categories/api)

marcortola/cuentica
===================

Community API client for Cuéntica online management software

0.0.6(3y ago)128MITPHPPHP ^7.4 || ^8.0

Since Mar 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/marcortola/cuentica)[ Packagist](https://packagist.org/packages/marcortola/cuentica)[ Docs](https://github.com/marcortola/cuentica)[ RSS](/packages/marcortola-cuentica/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (7)Versions (7)Used By (0)

Community API client for Cuéntica online management software
============================================================

[](#community-api-client-for-cuéntica-online-management-software)

[![Latest Version](https://camo.githubusercontent.com/0c6f7434aed7db2caeb7a4e3d7f7974fbd4f2aea6f712f2a03da3bcb32c74b66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6172636f72746f6c612f6375656e746963612e7376673f7374796c653d666c61742d737175617265)](https://github.com/marcortola/cuentica/releases)

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

[](#installation)

1. [Install Composer](https://getcomposer.org/download/)
2. Execute:

```
$ composer require marcortola/cuentica

```

Usage examples
--------------

[](#usage-examples)

```
use MarcOrtola\Cuentica\CuenticaClient;

$cuenticaClient = CuenticaClient::create('your_auth_token');

// Find a customer by ID.
$customer = $cuenticaClient->customer()->customer(1);

// Update a customer by ID.
$customer = $cuenticaClient->customer()->customer(1);
$customer->setCountryCode('US');
$cuenticaClient->customer()->update($customer);

// Delete a customer by ID.
$cuenticaClient->customer()->delete(1);

// Search customers.
$customers = $cuenticaClient->customer()->search('my query string', $pageSize, $page);

// Create a customer (it's individual, but can be a company or a generic one).
$customer = new Individual(
    'My street',
    'My City',
    '40100',
    '44444444I',
    'My region',
    'My name',
    'My surname'
);
$cuenticaClient->customer()->create($customer);

// Create an invoice.
$invoice = new Invoice(
    true,
    [new InvoiceLine(1, 'Concept', 100, 2, 10, 4)],
    [new Charge(false, 103.88, 'other', 42133)]
);
$cuenticaClient->invoice()->create($invoice);

// Get invoice PDF contents.
$pdfContents = $cuenticaClient->invoice()->pdf(1);

// Find an invoice by ID.
$pdfContents = $cuenticaClient->invoice()->invoice(1);
```

Read the Cuéntica API documentation [here](https://apidocs.cuentica.com/versions/latest_release/).

License
-------

[](#license)

Licensed under the MIT License. See [License File](LICENSE) for more information about it.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~211 days

Recently: every ~255 days

Total

6

Last Release

1195d ago

PHP version history (2 changes)0.0.1PHP ^7.4

0.0.6PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7cb342c647d69ea9b4d356eedfff75e22bf0b218a08b5f6dc7da163d4414d2b2?d=identicon)[marcortola](/maintainers/marcortola)

---

Top Contributors

[![marcortola](https://avatars.githubusercontent.com/u/15958009?v=4)](https://github.com/marcortola "marcortola (25 commits)")

---

Tags

api-clientcuenticaapicuentica

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/marcortola-cuentica/health.svg)

```
[![Health](https://phpackages.com/badges/marcortola-cuentica/health.svg)](https://phpackages.com/packages/marcortola-cuentica)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[kbsali/redmine-api

Redmine API client

4221.1M24](/packages/kbsali-redmine-api)[wordpress/php-ai-client

A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.

26236.6k14](/packages/wordpress-php-ai-client)

PHPackages © 2026

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