Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Latest commit

 

History

History
77 lines (52 loc) · 2.71 KB

README.md

File metadata and controls

77 lines (52 loc) · 2.71 KB

Narrowspark Automatic Prefetcher

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.