thegalactic/packagist-keywords

Extract the projects from packagist.org which are linked to the main keywords

dev-master / 1.0.x-dev 2016-11-05 17:22 UTC

This package is auto-updated.

Last update: 2024-04-23 06:52:49 UTC


README

Downloads License

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

Usage

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 output is not provided, a default filename is produced;
  • if max is not provided, all keywords are considered;
  • if min is not provided, there is no minimum number of keywords required;
  • if ratio is not provided, its default is 0.