PHPackages                             caprel/dolibarr-stubs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. caprel/dolibarr-stubs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

caprel/dolibarr-stubs
=====================

Dolibarr functions stubs for static analysis.

v18.0(2y ago)161Shell

Since Oct 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rycks/dolibarr-stubs)[ Packagist](https://packagist.org/packages/caprel/dolibarr-stubs)[ RSS](/packages/caprel-dolibarr-stubs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Dolibarr Stubs Tools (extractor)
================================

[](#dolibarr-stubs-tools-extractor)

[Packagist](https://packagist.org/packages/caprel/dolibarr-stubs)

This package provides tools to extracts stub for [Dolibarr](https://dolibarr.org/)functions, classes and interfaces.

All of stubs (results) are available on a dedicated repository, all versions of dolibarr since dolibarr-10.0 are concerned ! \[dolibarr-stubs-all\]

These stubs can help plugin and theme developers leverage IDE completion and static analysis tools like [PHPStan](https://github.com/phpstan/phpstan).

The stubs are generated directly from the [source](https://github.com/dolibarr/dolibarr)using [php-stubs/generator](https://github.com/php-stubs/generator).

Requirements
------------

[](#requirements)

- PHP &gt;=7.3

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

[](#installation)

Require this package as a development dependency with [Composer](https://getcomposer.org).

```
composer require --dev caprel/dolibarr-stubs
```

Alternatively you may download `dolibarr-stubs.php` directly.

Usage in PHPStan
----------------

[](#usage-in-phpstan)

Include stubs in PHPStan configuration file.

```
parameters:
    bootstrapFiles:
        - vendor/php-stubs/dolibarr-stubs/dolibarr-stubs.php
```

Support package maintenance
---------------------------

[](#support-package-maintenance)

Please consider supporting this work :  or [buy me a coffee for example](https://shop.cap-rel.fr/cat/112)

Thank you!

Thanks to woocommerce-stubs !
-----------------------------

[](#thanks-to-woocommerce-stubs-)

This package is based on

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Total

5

Last Release

932d ago

Major Versions

v14.0 → v15.02023-10-20

v15.0 → v16.02023-10-20

v16.0 → v17.02023-10-20

v17.0 → v18.02023-10-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/b16f5f22e7438ea9d5ff85752aac707f3f69f733c483102a53129f4e7f1601fe?d=identicon)[Eric-CAP-REL](/maintainers/Eric-CAP-REL)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/caprel-dolibarr-stubs/health.svg)

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

###  Alternatives

[razonyang/yii2-rate-limiter

Yii2 Rate Limiter

1025.0k1](/packages/razonyang-yii2-rate-limiter)

PHPackages © 2026

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