Wordpress base setup for collaborate, Wordpress Composer, Wordpress Plugins
This is base wordpress setup based on composer.
Have you ever problems to collaborate in team using WordPress? There is a solution!
Just download this repository and setup it your way.
This allow you create your WP setup based on composer. Which solve all problem during collaboration.
All plugins, themes, media are stored out of WordPress directory, so you can easly manage them with teammates.
Is stored in root directory, when WordPress cant find wp-config.php
file, looking for it one directory above. That’s why we can store it into root directory.
This is specially prepared config that use .env
file and you can find inside setup for directories.
WordPress is installed into directory system
Plugins are installed into directory wp-contet\plugins\{name}
Themes are installed into directory wp-content\themes\{name}
Media files are stored into wp-content\uploads\{name}
Previously it was stored in media
inside root, but Gravity form had some problem with it.
Add this code to .htaccess file to prevent access for your .env files
<Files ~ "^.*\.([Ee][Nn][Vv])">
order allow,deny
deny from all
satisfy all
</Files>
Plugins are installed into directory wp-content\mu-plugins\{name}
This setup also contain Custom download for ACF PRO if you wish.
.gitignore
fits your needswp-config.php
then composer.json
and index.php
for system directory.env
. You can find example .env-example
composer.json
file. You can check for plugins and thems using WordPress PackagistAdvenced custom fields PRO
by adding your LICENSE key into .env file.After base setup just run install
composer install
For updates
composer update
Beerware