Notas sobre composer

Ejecutar un diágnostico:

$ composer diagnose
Checking platform settings: FAIL
The xdebug extension is loaded, this can slow down Composer a little.
Disabling it when using Composer is recommended, but should not cause issues beyond slowness.
Checking git settings: OK
Checking http connectivity: OK
Checking disk free space: OK
Checking composer version: FAIL
Your are not running the latest version

Ver la versión que tenemos instalada:

$ composer –version
Composer version 7adc41d02c3536b3e19a6b906cf0c4cf6d3beb70 2014-01-20 18:10:11

Actualizar la versión actualmente instalada:

$ sudo composer selfupdate
Updating to version aa74818fe00c5f5eb57c1c38b807e9e2950c670c.
    Downloading: 100%        
Use composer self-update –rollback to return to version 7adc41d02c3536b3e19a6b906cf0c4cf6d3beb70

 

$ composer –version
Composer version aa74818fe00c5f5eb57c1c38b807e9e2950c670c 2014-02-21 15:53:59

Hacer un rollback a la versión anterior:

$ sudo composer selfupdate –rollback
Rolling back to version 2014-01-20_18-10-11-7adc41d.

 

$ composer –version
Composer version 7adc41d02c3536b3e19a6b906cf0c4cf6d3beb70 2014-01-20 18:10:11

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s