composer requirements for curl and json