The stubs are generated directly from the dolibarr sources using dolibarr-stubs tools.
For example you can include stubs in PHPStan configuration file with
parameters:
scanDirectories:
- /your_path/dolibarr-stubs-all/dolibarr-18/
excludePaths:
analyse:
- /your_path/dolibarr-stubs-all/dolibarr-18/
(more documentation to become)
Please consider supporting this work : https://cap-rel.fr/services/soutien-rd/ or buy me a coffee for example
Thank you!