Last updated 1 year ago
Was this helpful?
Make sure Composer is installed globally, as explained in the of the Composer documentation.
$ composer create-project metabolism/wordpress-skeleton my_project_directory
Go to your project root and edit the composer.json file :
"minimum-stability": "dev", ... "extra": { "installer-paths": { "public/wp-bundle/mu-plugins/{$name}/": ["type:wordpress-muplugin"], "public/wp-bundle/plugins/{$name}/": ["type:wordpress-plugin"], "public/wp-bundle/themes/{$name}/": ["type:wordpress-theme"], "public/edition/": ["type:wordpress-core"] } }
$ composer require metabolism/wordpress-bundle
For applications that don't use Symfony Flex : Enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project
Metabolism\WordpressBundle\WordpressBundle::class => ['all' => true],