dkx / composer-phar-installer
This package is abandoned and no longer maintained.
No replacement package was suggested.
Composer phar installer plugin
0.0.1
2020-01-20 20:46 UTC
Requires
- php: >=7.4
- composer-plugin-api: ^1.1
Requires (Dev)
- doctrine/coding-standard: ^7.0
- overtrue/phplint: ^1.2
This package is auto-updated.
Last update: 2024-01-21 19:45:01 UTC
README
Composer phar installer plugin
Installation
$ composer require dkx/composer-phar-installer
Usage
Update your composer.json
to install eg. phpunit:
{
"name": "my/app",
"extra": {
"install-phar": {
"dir": "tools",
"require": {
"phpunit": "https://phar.phpunit.de/phpunit-8.5.2.phar"
}
}
},
"autoload": {
"psr-4": {
"MyApp\\": "./src"
}
},
"require": {
"php": ">=7.4"
}
}
Now every time you run composer install
or composer update
phpunit will be automatically fetched and saved as
./tools/phpunit.phar
.