https://github.com/kisphp/composer-no-update
Do not allow to run composer update without parameters
https://github.com/kisphp/composer-no-update
Last synced: about 1 year ago
JSON representation
Do not allow to run composer update without parameters
- Host: GitHub
- URL: https://github.com/kisphp/composer-no-update
- Owner: kisphp
- License: mit
- Created: 2016-01-29T20:10:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T20:50:59.000Z (over 4 years ago)
- Last Synced: 2025-01-04T02:56:17.982Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Composer no update
[](https://travis-ci.org/kisphp/composer-no-update)
[](https://packagist.org/packages/kisphp/composer-no-update)
[](https://packagist.org/packages/kisphp/composer-no-update)
[](https://packagist.org/packages/kisphp/composer-no-update)
[](https://packagist.org/packages/kisphp/composer-no-update)
This repository will prevent to run `composer update` without parameters.
You should always run `composer update {repository}` to update only specific repositories that you use in your application.
If you know what you are doing and still want to run the update without any parameters, then you have two ways to do it:
```bash
COMPOSER_UPDATE_FORCE=1 composer update
```
or
```bash
composer update --no-plugins
# this option will disable all composer plugin
```