Using b4st with Composer - SimonPadbury/b4st GitHub Wiki
You may want to use Composer (a dependency manager for PHP) for installing and updating the b4st theme inside your WordPress project.
Add the following snippet to your composer.json
file. Then run composer update
.
{
"repositories" : [
{
"type": "package",
"package": {
"name": "b4st",
"type": "wordpress-theme",
"version": "master",
"source": {
"type": "git",
"url": "[email protected]:SimonPadbury/b4st.git",
"reference": "master"
}
}
}
],
"extra" : {
"installer-paths" : {
"wp-content/themes/{$name}/" : ["type:wordpress-theme"]
}
},
"require": {
"b4st" : "master"
}
}