iTop data collectors are simple PHP command line applications to collect data from an external application and load/synchronize the information into iTop using the data synchronization mechanism built into iTop.
This module is a small framework for creating your own data collectors for iTop.
For more information about this module have a look at the documentation.
Release packages can be found on the iTop Hub Store. This is the best way to get a running package as those contains all the needed modules and stable code.
When downloading directly from GitHub (by cloning or downloading as zip) you will get potentially unstable code, and you will miss additional modules.
run below command to validate your collector-base clone
composer install; vendor/bin/phpstan analyse
see phpstan configuration in phpstan.neon.dist. in here you can increase/decrease (severity) level
to ignore remaining errors please generate baseline again:
composer install; vendor/bin/phpstan analyse --generate-baseline
This iTop module development is sponsored, led and supported by Combodo.