composer improvements

Signed-off-by: Luca Degasperi <luca@lucadegasperi.com>