add preferred-install=source in config section of composer.json