isaac / composer-velocita
Fast and reliable Composer package downloads by using Velocita
Installs: 124 226
Dependents: 0
Suggesters: 0
Security: 0
Stars: 29
Watchers: 7
Forks: 1
Open Issues: 1
Type:composer-plugin
pkg:composer/isaac/composer-velocita
Requires
- php: >=7.4
- composer-plugin-api: ^2.0
- ext-json: *
Requires (Dev)
- composer/composer: ^2.1.9
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- phpcompatibility/php-compatibility: ^9.3.5
- phpstan/phpstan: ^1.5.3
- slevomat/coding-standard: ^8.14
- symfony/flex: ^2.3.3
README
This repository has been archived and is replaced by the GMTA composer-velocita repository.
The Composer package has been replaced by gmta/composer-velocita.
To upgrade to the new package, perform the following steps:
composer global remove isaac/composer-velocita
composer global config --unset allow-plugins.isaac/composer-velocita
composer global config allow-plugins.gmta/composer-velocita true
composer global require gmta/composer-velocita
Velocita Composer plugin
Fast and reliable Composer package downloads using Velocita: a caching reverse proxy that does not require you to modify your projects.
Getting Started
Prerequisites
- PHP 7.4 or newer
- A running Velocita instance
- Composer 2
Installation
Installation and configuration of the Velocita plugin is global, so you can use it for all projects that use Composer
without having to add it to your project's composer.json.
composer global config allow-plugins.isaac/composer-velocita true
composer global require isaac/composer-velocita
composer velocita:enable https://url.to.your.velocita.tld/
Usage
After enabling and configuring Velocita, it is automatically used for all Composer projects when running require,
update, install, etcetera.
Removal
Disable the plugin by executing:
composer velocita:disable
If you want to remove the plugin completely, execute:
composer global remove isaac/composer-velocita
Authors
- Jelle Raaijmakers - jelle@gmta.nl / GMTA
Contributing
Raise an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License - see the LICENSE file for details.