Skip to content

Instantly share code, notes, and snippets.

@mAAdhaTTah
Last active April 30, 2019 18:36
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mAAdhaTTah/68b7fa1a5e9525b48e60 to your computer and use it in GitHub Desktop.
Save mAAdhaTTah/68b7fa1a5e9525b48e60 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"]
}
}
}
@namncn
Copy link

namncn commented Sep 24, 2017

Just delete "," on line 5 to fix this error.

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