make composer optional