internal / dload
Downloads binaries.
Fund package maintenance!
Patreon
Installs: 16 896
Dependents: 3
Suggesters: 0
Security: 0
Stars: 18
Watchers: 1
Forks: 0
Open Issues: 4
Requires
- php: >=8.1
- psr/container: 1 - 2
- react/async: 3 - 4
- react/promise: 2 - 3
- symfony/http-client: 4 - 7
- yiisoft/injector: ^1.2
Requires (Dev)
- buggregator/trap: ^1.10
- dereuromark/composer-prefer-lowest: ^0.1.10
- ergebnis/phpunit-slow-test-detector: ^2.14
- friendsofphp/php-cs-fixer: ^3.54
- pestphp/pest: ^2.34
- phpunit/phpunit: ^10.5
- vimeo/psalm: ^5.11
- wayofdev/cs-fixer-config: ^1.4
Suggests
- ext-simplexml: to support XML configs parsing
This package is auto-updated.
Last update: 2024-12-06 19:13:56 UTC
README
Download artifacts easily
Installation
composer require internal/dload -W
Usage
Get predefined software list
./vendor/bin/dload list
Download single software
./vendor/bin/dload get dolt
Configure preset for the project
Create dload.xml
file in the root of the project with the following content:
<?xml version="1.0"?> <dload> <actions> <download software="rr" version="^2.12.0" /> <download software="temporal"/> </actions> </dload>
There are two software packages to download: temporal
and rr
with version ^2.12.0
.
Optionally, you may specify the version of the software package using Composer versioning syntax.
To download all the configured software, run dload get
without arguments:
./vendor/bin/dload get
Custom software registry
<?xml version="1.0"?> <dload> <registry> <software name="RoadRunner" alias="rr" description="High performant Application server" > <repository type="github" uri="roadrunner-server/roadrunner" asset-pattern="/^roadrunner-.*/" /> <file pattern="/^(roadrunner|rr)(?:\.exe)?$/" rename="rr" /> </software> </registry> </dload>
GitHub Token
To increase the rate limit for GitHub API, you can specify the token in the environment variable GITHUB_TOKEN
:
GITHUB_TOKEN=your_token_here ./vendor/bin/dload get