• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

How to downgrade or install a specific version of Composer?

phpwindowscomposer-php


PHP Snippet 1:

composer self-update 1.10.14

PHP Snippet 2:

sudo -H composer self-update 1.10.14

PHP Snippet 3:

curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --1

PHP Snippet 4:

composer self-update 1.10.12
composer self-update 2.0.7

PHP Snippet 5:

composer self-update --1 or 2

Related Snippets

Do I need to install `fxp/composer-asset-plugin` if I'm not doing front-end development

MySQL upgrade causing unexpected results on simple WHERE clauses

Laravel - Implicit route model binding with soft deleted data

Laravel Nova Dependency Container what are the allowed resource properties other than id in dependsOn

OctoberCMS / Anonymous Global Scope

Best way to scrolldown onpageload

Why "Class 'GuzzleHttpClient' not found" even after Installing it in Laravel?

Laravel: HTML in notification

Show date difference as "20" instead of "20 years ago"

HTML and PHP in one file

phpseclib 2.0 can not use Composer to create autoload

Pagekite error: FAIL: localhost:8080 is down

Convert regular text to array using notepad++

merging two arrays with specified index

httpd.conf on Windows: can't locate API model structure `php8_module`

About Contact Privacy policy Terms and conditions