- phpunit (3856×)
- psalm (3927×)
- composer-require-checker (1124×)
- php-cs-fixer (10461×)
- phan (503×)
Add the following to your project's composer.json:
{ "repositories": [ { "type": "composer", "url": "https://packages.pharhub.dev/" } ] }
... or run the following command once:
composer config repositories.pharhub composer https://packages.pharhub.dev/
Then you may require packages from this repository. For example, the following command will install the latest available version of PHPUnit:
composer require --dev pharhub/phpunit
You can read more about custom repositories in Composer's documentation.
Run the following command once to register the PharHub repository:
composer global config repositories.pharhub composer https://packages.pharhub.dev/
Then you may install phars globally. For example, the following command will install php-cs-fixer:
composer global require pharhub/php-cs-fixer