composer adapt