alpipego / wp-base
WordPress Installation Blueprint (Including recurrent plugins etc.)
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 2
Type:project
Requires
- php: >=7.1
- alpipego/awp-assets: ^0.3.0
- alpipego/awp-cache: ^0.1.0
- alpipego/awp-di: ^0.4.1
- alpipego/awp-template: dev-develop
- alpipego/ghcp: ^0.2
- composer/installers: ^1.5
- gordalina/cachetool: ^3.0
- hassankhan/config: ^1.0
- johnpbloch/wordpress-core: ^4.9
- johnpbloch/wordpress-core-installer: ^1.0
- koodimonni/composer-dropin-installer: ^1.2
- predis/predis: ^1.1
- symfony/cache: ^4.0
- tillkruss/redis-cache: ^1.3
- wp-cli/wp-cli: ^1.5
- wpackagist-plugin/disable-emojis: ^1.7
- wpackagist-plugin/disable-wordpress-updates: ^1.6
- wpackagist-plugin/no-self-ping: ^1.1
Requires (Dev)
- deployer/deployer: ^6.1
- deployer/recipes: ^6.0
- rmccue/requests: ^1.7
- sllh/composer-versions-check: ^2.0
- wpackagist-plugin/debug-plugin-activation-errors: ^1.9
- wpackagist-plugin/query-monitor: ^3.0
- wpackagist-plugin/rewrite-rules-inspector: ^1.2
- yosymfony/toml: ^1.0
This package is auto-updated.
Last update: 2021-03-13 11:25:42 UTC
README
My subjective basic Composer-WordPress blueprint
How to use
- remove all plugins you do not wish to install
- you can add different configuration for different environments (by default
local
,staging
,production
) - to get started locally, add your environment details to
config/env/local.json
(seeconfig/env/default.json
for a blueprint) - add your virtual host details to
config/nginx/local.conf
and symlink that file to nginxsites-enabled
(If you want to use apache together with php-fpm the process is pretty much the same. If your usingmod-php
you'll have to figure it out for yourself). - if you want to use ACF Pro you need to add a license key (as the value for the
k
query string) - some plugins like WP Mail SMTP tend to remove their old tags from the repository (if they do this the install will fail), to prevent this either change their version number to
"*"
or keep them in sync with wpackagist
As of version 1.0.0 this can also be installed as a project:
composer create-project alpipego/wp-base 1.0.* --no-scripts
Directory Structure
.
├── LICENSE
├── README.md
├── composer.json
├── config
│ ├── env
│ │ ├── default.json
│ │ └── local.json
│ ├── env.json
│ └── nginx
│ └── local.conf
├── log
├── web
│ ├── assets
│ │ └── index.php
│ ├── extensions
│ │ └── index.php
│ ├── index.php
│ ├── languages
│ │ └── index.php
│ ├── plugins
│ │ └── index.php
│ ├── uploads
│ │ └── index.php
│ └── wp-config.php
└── wp-config.php
- For a basic setup you should not have to touch more than the configuration files in
config
and thecomposer.json
Plugins not in repository
A lot of plugins that are not in the repository can be installed by getting their zip archive:
{
"type": "package",
"package": {
"name": "advanced-custom-fields/advanced-custom-fields-pro",
"version": "5.3.9",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "http://connect.advancedcustomfields.com/index.php?p=pro&a=download&k=LICENSE_KEY"
}
}
}
Add the correct version above and then require it with:
"advanced-custom-fields/advanced-custom-fields-pro": "*"