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

[READ ONLY] 〰️ A composer plugin that bundle packages to speed up composer install & update, with legacy tags ignoring feature.

License

Notifications You must be signed in to change notification settings

narrowspark/automatic-composer-prefetcher

Repository files navigation

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.

About

[READ ONLY] 〰️ A composer plugin that bundle packages to speed up composer install & update, with legacy tags ignoring feature.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages