narrowspark / automatic-composer-prefetcher
A composer plugin that prefetch composer packages for a faster download.
Fund package maintenance!
prisis
Installs: 36 184
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Type:composer-plugin
Requires
- php: ^7.1
- composer-plugin-api: ^1.0
Requires (Dev)
- ext-curl: *
This package is auto-updated.
Last update: 2023-03-26 09:27:50 UTC
README
Note This package is part of the Narrowspark automatic.
Installation
Use Composer to install this package:
composer global require narrowspark/automatic-composer-prefetcher --dev
Usage
The prefetcher will be executed when composer require
, composer install
or composer update
is used, you will experience a speed up of composer package installations.
Narrowspark Automatic Prefetcher supports on skipping legacy package tags
.
You have two ways to skip old tags of a package.
The first one is to use the composer.json extra
field, add prefetcher
inside of this a require
key,
then you packages with the version you want start skipping.
{ "extra": { "prefetcher": { "require": { "symfony/symfony": "4.2.*", "next package": "1.*" } } } }
And the second one is to use the global env
variable
export AUTOMATIC_PREFETCHER_REQUIRE="symfony/symfony:4.2.*[, and you next package]"
Versioning
This library follows semantic versioning, and additions to the code ruleset are performed in major releases.
Changelog
Please have a look at CHANGELOG.md
.
Contributing
Please have a look at CONTRIBUTING.md
.
Code of Conduct
Please have a look at CODE_OF_CONDUCT.md
.
Credits
- Daniel Bannert
- All Contributors
- Narrowspark Automatic has been inspired by symfony/flex
License
This package is licensed using the MIT License.
Please have a look at LICENSE.md
.