Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Forked from mAAdhaTTah/composer.json
Created December 14, 2016 15:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpsmith/290b3f3feccde4ed8a7c081dd487b65f to your computer and use it in GitHub Desktop.
Save wpsmith/290b3f3feccde4ed8a7c081dd487b65f to your computer and use it in GitHub Desktop.
CMB2 as Composer Library
{
"require": {
"php": ">=5.3.0",
"composer/installers": "v1.0.12",
"webdevstudios/cmb2": "dev-master",
},
"autoload": {
"files": ["vendor/cmb2/init.php"]
},
"extra": {
"installer-paths": {
"vendor/{$name}/": ["webdevstudios/cmb2"]
}
}
}
@khromov
Copy link

khromov commented Feb 18, 2017

Very helpful, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment