mattneal-stafflink / traction
WordPress boilerplate with Composer, easier configuration, and an improved folder structure, based on Roots/Bedrock
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1 166
Language:CSS
Type:project
Requires
- php: >=8.0
- composer/installers: ^2.2
- log1x/acf-composer: ^2.1
- log1x/navi: ^2.0
- oscarotero/env: ^2.1
- roots/bedrock-autoloader: ^1.0
- roots/bedrock-disallow-indexing: ^2.0
- roots/wordpress: 6.4.3
- roots/wp-config: 1.0.0
- roots/wp-password-bcrypt: 1.1.0
- timber/timber: ^2.0
- vlucas/phpdotenv: ^5.5
- wpackagist-theme/twentytwentyfour: ^1.0
Requires (Dev)
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7.1
- wp-coding-standards/wpcs: ^3.0
This package is auto-updated.
Last update: 2024-11-19 02:15:09 UTC
README
git clone git@github.com:mattneal-stafflink/traction.git && cd traction && code .
cmd+shift+f and search/replace bedrocktraction
with your websites' domain name. For example, if your domain is stafflink.com.au
, replace bedrocktraction
with stafflink
.
Add your credentials for Satispress to the .auth.json.example
and remove the .example
extension from this file.
Generate Salts for your .lando.env
environment variables file. https://roots.io/salts.html
lando start
If you want to install our plugins, run lando install-plugins
.
Plugin Recommendations
Create an mu-plugin for Gravityforms hooks and use this: https://github.com/basmiddelham/gravityforms-bootstrap-styling If you're using Bootstrap, don't forget to add the SCSS.
Useful Links
Navi
ACF Composer
https://github.com/Log1x/acf-composer
WordPress boilerplate with Composer, easier configuration, and an improved folder structure
Website Documentation Releases Community
Sponsors
Bedrock is an open source project and completely free to use. If you've benefited from our projects and would like to support our future endeavors, please consider sponsoring Roots.
Overview
Bedrock is a WordPress boilerplate for developers that want to manage their projects with Git and Composer. Much of the philosophy behind Bedrock is inspired by the Twelve-Factor App methodology, including the WordPress specific version.
- 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 wp-password-bcrypt)
Getting Started
See the Bedrock installation documentation.
Stay Connected
- Join us on Discord by sponsoring us on GitHub
- Participate on Roots Discourse
- Follow @rootswp on Twitter
- Read the Roots Blog
- Subscribe to the Roots Newsletter