valendesigns / option-tree

Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
GNU General Public License v2.0
597 stars 179 forks source link

Issues with loading via composer #720

Open mikemanger opened 4 years ago

mikemanger commented 4 years ago

I am trying to modernise some of our codebase by vendoring option-tree with composer. The composer.json file is located at the root of the project (e.g. same dir as wp-config.php).

There are a couple of issues:

As far as I can tell the 2nd issue is because OT expects it to be in a specific theme or plugin directory, not a root vendor directory. If this is the case, I'm not sure how we can use composer.json without copying the files?