Update composer to support both Laravel4 and 5