Updated composer to support ~2.2 and up