[Tutorial] How to add Wordpress project using composer/bedrock
-
It's easy. Here how:
- Open "Quick app > Configuration..."
- Add this line:
WordPress BedRock=composer create-project roots/bedrock %s
- Now, you can create your project "Quick app > WordPress Bedrock"
That's all.
After installing, remember to update
.env
file
Note: if you project name isbedrock
, Laragon will create a databasebedrock
so your .env will look like below:DB_NAME=bedrock DB_USER=root DB_PASSWORD= WP_ENV=development WP_HOME=http://bedrock.test WP_SITEURL=${WP_HOME}/wp
-
Thank you @leokhoa. Did you try installing and activating any plugins via composer aftewards? When I add and install for example Timber
composer require timber/timber
and activate it via WP CLI - it won't, because the plugins folder is completely empty. Any suggestions? Thank you.Screen: https://i.imgur.com/vcqp2Qd.png
composer.json: https://pastebin.com/Rcsmt77EI followed your steps, just installed a quick app with the new setup.