Adapting extension for composer