This software has been realized to extract the projects from packagist.org which are linked to the main keywords.
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
- if
outputis not provided, a default filename is produced; - if
maxis not provided, all keywords are considered; - if
minis not provided, there is no minimum number of keywords required; - if
ratiois not provided, its default is 0.