I’d appreciate insights from anyone who engineered an elegant solution for a similar problem:
My company just launched a site for a client. The site is built upon Yii2. Now we’re building a new site for the same client, and I want to reuse a lot of helper classes/libraries that we built for the previous site. Just a few examples for the sake of illustration:
An SEO helper class that extracts SEO content from a model and renders SEO HTML tags
A bootstrap file that determines the current language based upon the domain
A bootstrap file that adds a login screen to the dev/testing environments
An SDK that we custom-built to integrate with a 3rd party service
Obviously we could very easily just copy-paste all of the relevant code files into the new project. The question if anyone has experience with this kind of situation.