PHPackages                             dantepiazza/dolibarr-sdk - 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. dantepiazza/dolibarr-sdk

ActiveLibrary[API Development](/categories/api)

dantepiazza/dolibarr-sdk
========================

v1.0.3(1y ago)017PHPPHP &gt;=7.4

Since Apr 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dantepiazza/dolibarr-sdk)[ Packagist](https://packagist.org/packages/dantepiazza/dolibarr-sdk)[ RSS](/packages/dantepiazza-dolibarr-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Dolibarr API Rest SDK
=====================

[](#dolibarr-api-rest-sdk)

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

[](#installation)

The recommended way to install this package is via the Packagist Dependency Manager ([dantepiazza/dolibarr-sdk](https://packagist.org/packages/dantepiazza/dolibarr-sdk)).

Getting Started
---------------

[](#getting-started)

```
$dolibarr = new Dolibarr([
	'url' => 'YOUR_DOLIBAR_API_URL',
	'token' => 'YOUR_DOLIBAR_API_TOKEN',
]);

$invoice = $dolibarr -> Invoices -> Get(1);

if($invoice -> status){
    print_r($invoice -> data);
}
```

The call to the different Dolibarr endpoints is made through the defined instance invoking the class and the corresponding method:

```
$call = $dolibarr -> endpoint_class_name -> method_name(array $options);
```

You can see a detail of the different endpoints by exploring your API from the URL `YOUR_DOLIBAR_API_URL/api/index.php/explorer`

Availables endpoints
--------------------

[](#availables-endpoints)

The names of the classes correspond to the different endpoints of the Dolibarr Rest API. Below is a list of endpoints available in this version:

- BankAccounts
- Contacts
- Documents
- ExpenseReports
- Invoices
- Login
- Projects
- Proposals
- Setup
- Status
- SupplierInvoices
- SupplierOrders
- SupplierProposals
- Tasks
- Thirdparties
- Users

Note that this repository is currently under development, additional classes and endpoints being actively added.

Responses
---------

[](#responses)

All requests return an instance of the Response class

```
class Response{
	var bool $status = false;
	var mixed $data = [];
	var int $code = 0;
}
```

Contributions
-------------

[](#contributions)

First off, thanks for taking the time to contribute! 🎉👍 To help add functionality or address issues, please take the following steps:

- Fork the repository from the master branch.
- Create a new branch for your `features` or `fixes`.
- Make the changes you wish to see.
- Create a pull request with details of what changes have been made and explanation of new behaviour.
- Ensure documentation contains the correct information.
- Pull requests will be reviewed and hopefully merged into a release.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

4

Last Release

649d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dantepiazza-dolibarr-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/dantepiazza-dolibarr-sdk/health.svg)](https://phpackages.com/packages/dantepiazza-dolibarr-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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