This software has been realized to extract the projects from packagist.org which are linked to the main keywords.
Installation using composer
composer require thegalactic/packagist-keywords:dev-master
Example: get data for projects using keywords which are in the 20 most used and which are used by at least 10% of the projects keeping 10 keywords minimum.
./vendor/thegalactic/packagist-keywords/cli/packagist-keywords.sh\ --output=filename.csv\ --max=20\ --ratio=0.10\ --min=10
outputis not provided, a default filename is produced;
maxis not provided, all keywords are considered;
minis not provided, there is no minimum number of keywords required;
ratiois not provided, its default is 0.