• 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

Using PHP to connect to a remote MSSQL database

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

PHPUnit (Phar) Fatal Error Only When Test Fails

Laravel UUID generation

Component install error: JInstaller: :Install: File does not exist

PHP array stringify

PHP random string generator

Lumen - Postgresql setup - Composer

Laravel php artisan serve to mimic HTTPS

XML to CSV with PHP converter [problem with images grabing]

How do I upload a laravel project on cPanel shared hosting?

Creating a config file in PHP

How to display table header in every page using FPDF library?

Dropzone: Submit both form data and dropzone at once

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]

About Contact Privacy policy Terms and conditions