I would like to add a WordPress blog to our magento2 site.

WordPress is not officially available as a composer package.

I can create my own package - that's not an issue.

How would I go about getting this package deployed to /pub/wordpress?

I know I can just put it directly there without using composer and simply add it to the main git repo for my project, but I'd rather stick to having all dependencies managed via composer.

I could also keep it under vendor and somehow symlink it, but my main goal is to have our distribution as smooth as possible.

Will need to take the location of the wp-config.php file into consideration

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.