Adding replace in main composer.json and autoloaders for the split packages