narrowspark/automatic-composer-prefetcher

This package is abandoned and no longer maintained. No replacement package was suggested.

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

0.13.1 2019-11-22 10:15 UTC

This package is auto-updated.

Last update: 2023-03-26 09:27:50 UTC


README

68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6172726f77737061726b2f6175746f6d617469632e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545372e332e302d3838393242462e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e6172726f77737061726b2f6175746f6d617469632f6d61737465722e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374796c652d6c6576656c253230372d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d7068707374616e 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265

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

License

This package is licensed using the MIT License.

Please have a look at LICENSE.md.