silverback / skeleton
WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure
Requires
- php: >=7.2
- composer/installers: ^1.7
- google/cloud-error-reporting: ^0.14.5
- monolog/monolog: ^1.23
- oscarotero/env: ^1.2.0
- roots/wordpress: ^5.3.0
- roots/wp-config: ~1.0.0
- roots/wp-password-bcrypt: ~1.0.0
- silverback/wp-helpers: ^5.2.0
- silverbackstudio/wp-log: ^1.0
- vlucas/phpdotenv: ^3.4.0
Requires (Dev)
Suggests
- silverback/wp-bootstrap: Installs some common Wordpress plugins
This package is not auto-updated.
Last update: 2026-06-07 13:10:24 UTC
README
This bolerplate is based on Bedrock, a modern WordPress stack that helps you get started with the best development tools and project structure.
Features
- Better folder structure
- Dependency management with Composer
- Easy WordPress configuration with environment specific files
- Environment variables with Dotenv
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
- Enhanced security (separated web root and secure passwords with roots.io's wp-password-bcrypt)
Requirements
- PHP >= 7.2
- Composer - Install
Installation
- Create a new project:
$ composer create-project silverback/wp-website
- Update environment variables in the
.envfile:
- Database variables
DB_NAME- Database nameDB_USER- Database userDB_PASSWORD- Database passwordDB_HOST- Database host- Optionally, you can define
DATABASE_URLfor using a DSN instead of using the variables above (e.g.mysql://user:password@127.0.0.1:3306/db_name)
WP_ENV- Set to environment (development,staging,production)WP_HOME- Full URL to WordPress home (https://localhost)WP_SITEURL- Full URL to WordPress including/wpsubdirectory (https://localhost/wp)AUTH_KEY,SECURE_AUTH_KEY,LOGGED_IN_KEY,NONCE_KEY,AUTH_SALT,SECURE_AUTH_SALT,LOGGED_IN_SALT,NONCE_SALT- Generate with wp-cli-dotenv-command
- Generate with Roots.io WordPress salts generator
- Add theme(s) via
composer require - Set the document root on your webserver to app
webfolder:/path/to/site/web/ - Access WordPress admin at
https://localhost/wp/wp-admin/
Development Environment with Docker
This boliperplate contains a pre-configured Docker environment with dedicated WP and MySQL containers.
You can find a Visual Studio Code development guide in the .devcontainer folder (recommended) or you can manually launch it via docker-compose.yaml file.
Google App Engine
This boilerlate is made to be deployed to Google App Engine. Please read the GAE_DEPLOY guide.
Bedrock
Bedrock documentation is available at https://roots.io/bedrock/docs/.