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

ActiveLibrary[API Development](/categories/api)

vulturdev/cuentica
==================

Cuentica API Integration in Laravel

v1.0.2(8y ago)550[2 issues](https://github.com/vcompanyb/cuenticalaravelapi/issues)GPL-3.0PHP

Since Dec 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vcompanyb/cuenticalaravelapi)[ Packagist](https://packagist.org/packages/vulturdev/cuentica)[ RSS](/packages/vulturdev-cuentica/feed)WikiDiscussions master Synced yesterday

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

Vulturdev/Cuentica
==================

[](#vulturdevcuentica)

Custom PHP Cuentica library for the Laravel 5 framework - developed by [Vulturdev](http://www.vulturdev.com).

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

[](#installation)

Pull this package using Composer.

```
    {
        "require": {
            "vulturdev/cuentica": "1.*"
        }
    }
```

or run in terminal: `composer require vulturdev/cuentica`

### Laravel 5.5+ Integration

[](#laravel-55-integration)

Laravel's package discovery will take care of integration for you.

### Laravel 5.\* Integration

[](#laravel-5-integration)

Add the service provider to your `config/app.php` file:

```
    'providers'     => array(

        //...
        Vulturdev\Cuentica\CuenticaServiceProvider::class,

    ),
```

Usage
-----

[](#usage)

### Laravel usage

[](#laravel-usage)

### Set up cuentica token

[](#set-up-cuentica-token)

```
    // Get the token from the .env file
    $company = new Company;
```

```
    // Use a variable
    $company = new Company($token);
```

### Sending Company requests

[](#sending-company-requests)

```
    use Vulturdev\Cuentica\Models\Company;

    $company = new Company;
    print_r($company->company());
    print_r($company->serie());
```

### Sending Account requests

[](#sending-account-requests)

```
    use Vulturdev\Cuentica\Models\Account;

    $account = new Account;
    print_r($account->accounts());
    print_r($account->account(36528));
```

### Sending Provider requests

[](#sending-provider-requests)

```
    use Vulturdev\Cuentica\Models\Provider;

    $provider = new Provider;
    print_r($provider->providers());
    print_r($provider->providers(array('q' => $search)));
    print_r($provider->providers(array('page_size' => '5','page' => '2')));
    print_r($this->createProvider());
    print_r($provider->provider(377692));

    private function createProvider() {
        $provider = new Provider;
        $newProvider = array(
            'address' => 'Address',
            'town' => 'Town',
            'postal_code' => 'PostalCode',
            'cif' => 'Cif',
            'tradename' => 'Tradename',
            'business_name' => 'Business Name',
            'business_type' => 'company',
            'region' => 'alicante',
        );
        print_r($provider->create($newProvider));
    }
```

### Sending Customer requests

[](#sending-customer-requests)

```
    use Vulturdev\Cuentica\Models\Customer;

    $customer = new Customer;

    print_r($customer->customers());
    print_r($customer->customers(array('q' => $search)));
    print_r($customer->customers(array('page_size' => '5','page' => '2')));
    print_r($customer->customer(322012));
    print_r($customer->invoices(322012));

```

### Sending Invoice requests

[](#sending-invoice-requests)

```
    use Vulturdev\Cuentica\Models\Invoice;

    $invoice = new Invoice;
    print_r($invoice->invoices());
    print_r($invoice->sendEmail(686665,array('to' => array($to),'reply_to' => $reply_to,'subject' => $subject,'body' => $body)));
    $invoice->downloadPdf(686665);
```

### Sending Expense requests

[](#sending-expense-requests)

```
    use Vulturdev\Cuentica\Models\Expense;

    $expense = new Expense;
    print_r($expense->expenses());
    print_r($expense->downloadAttachment(786351));
```

License
-------

[](#license)

This package is open-sourced software licensed under the [GPL-3.0 license](https://opensource.org/licenses/GPL-3.0)

Contact
-------

[](#contact)

For package questions, bug, suggestions and/or feature requests, please use the Github issue system and/or submit a pull request. When submitting an issue, always provide a detailed explanation of your problem, any response or feedback your get, log messages that might be relevant as well as a source code example that demonstrates the problem. If not, I will most likely not be able to help you with your problem.

For any other questions, feel free to use the credentials listed below:

Víctor Company (developer)

- Email:

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

3120d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15695594?v=4)[Víctor Company](/maintainers/vcompanyb)[@vcompanyb](https://github.com/vcompanyb)

---

Top Contributors

[![vcompanyb](https://avatars.githubusercontent.com/u/15695594?v=4)](https://github.com/vcompanyb "vcompanyb (11 commits)")

---

Tags

cuenticalaravelphplaravelcuentica

### Embed Badge

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

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

###  Alternatives

[ixudra/toggl

Custom PHP library to connect with the Toggl API - developed by Ixudra

27124.2k2](/packages/ixudra-toggl)

PHPackages © 2026

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