Extract most used project keywords
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cli
src
README.md
composer.json

README.md

php-packagist-keywords

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.