Here is the short answer for how I installed CMB2 as a dependency with Composer for my plugin. { “require”: { “cmb2/cmb2”: “^2.2” }, “autoload” : { “files”: [ “vendor/cmb2/cmb2/init.php” ] }, “extra”: { “installer-paths”: { “vendor/cmb2/cmb2”: [“cmb2/cmb2”] } } } Details of composer.json Require The require section, tells Composer the package (and version) we […]
You are here: Home / Archives for CMB2