• 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

How do I call Validator from a namespace with an already existing Validator class

PHP Startup: Unable to load dynamic library 'openssl' in Ubuntu

GuzzleHttp Hangs When Using Localhost

PHP using str_starts_with for array to exclude same as with wildcard

How to use functions that are declared in snippets in Evolution CMS (Modx) in an external PHP Script?

php retrieve specific data onclick from database in a list format

Using Associative arrays

Laravel after login Two factor not working

Nginx RTMP not recording

How to override header set in Apache config with more specific header in a virtual host

Shopify password update using Shopify API

laravel MVC execution flow

Log a user out of a website when they put their computer to sleep

PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: no such host known

About Contact Privacy policy Terms and conditions