Closed samualjacksonau closed 4 years ago
First of all, add wpackagist to your repositories:
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
Then require the wp-mvc
composer require wpackagist-plugin/wp-mvc
Maybe you should organize your project like that:
"extra": {
"installer-paths": {
"wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"wp-content/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "wp"
},
If anyone wants to contribute for this please open a pull request.
Hi,
Is this available as Composer library or can be easily converted?