Download the PHP package ffflabel/project without Composer
On this page you can find all versions of the php package ffflabel/project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ffflabel/project
More information about ffflabel/project
Files in ffflabel/project
Package project
Short Description WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure
License MIT
Homepage https://ffflabel.com/
Informations about the package project
FFFlabel WP Project
based on Bedrock
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 wp-password-bcrypt)
Use Trellis for additional features:
- Easy development environments with Vagrant
- Easy server provisioning with Ansible (Ubuntu 16.04, PHP 7.1, MariaDB)
- One-command deploys
See a complete working example in the roots-example-project.com repo.
Requirements
- PHP >= 7.0
- Composer - Install
Installation
-
Create a project folder
your-project-folder-name
, enter to it and create a new project for your project:composer create-project ffflabel/project .
-
Update environment variables in
.env
file:DB_NAME
- Database nameDB_USER
- Database userDB_PASSWORD
- Database passwordDB_HOST
- Database hostWP_ENV
- Set to environment (development
,staging
,production
)WP_HOME
- Full URL to WordPress home (http://example.com)WP_SITEURL
- Full URL to WordPress including subdirectory (http://example.com/wp)AUTH_KEY
,SECURE_AUTH_KEY
,LOGGED_IN_KEY
,NONCE_KEY
,AUTH_SALT
,SECURE_AUTH_SALT
,LOGGED_IN_SALT
,NONCE_SALT
If you want to automatically generate the security keys (assuming you have wp-cli installed locally) you can use the very handy wp-cli-dotenv-command:
wp package install aaemnnosttv/wp-cli-dotenv-command
wp dotenv salts regenerate
Or, you can cut and paste from the Roots WordPress Salt Generator.
-
Add theme(s) in
web/app/themes
as you would for a normal WordPress site. -
Set your site vhost document root to
/path/to/site/web/
(/path/to/site/current/web/
if using deploys) - Access WP admin at
http://example.com/wp/wp-admin
Deploys
-
Go to the
your-project-folder-name\.github\workflows\deploy-dev.yml
and update variables:REPO
- git ssh repositoryROOT_DIR
- path to the project on the server
- Go to project Git repository
Settings -> Secrets and variables -> Actions
and add Repository secrets:SSH_DEV_HOST
- ssh host - IP of the host serverSSH_DEV_USERNAME
- ssh user name to connect to the serverSSH_DEV_PORT
- ssh portSSH_DEV_KEY
- openssh private key (puttyprivatekey_openssh)
There are two methods to deploy Bedrock sites out of the box:
Any other deployment method can be used as well with one requirement:
composer install
must be run as part of the deploy process.
Documentation
Bedrock documentation is available at https://roots.io/bedrock/docs/.
Contributing
Contributions are welcome from everyone. We have contributing guidelines to help you get started.
Community
Keep track of development and community news.
- Participate on the Roots Discourse
- Follow @rootswp on Twitter
- Read and subscribe to the Roots Blog
- Subscribe to the Roots Newsletter
- Listen to the Roots Radio podcast
All versions of project with dependencies
composer/installers Version ^1.12
vlucas/phpdotenv Version ^2.6.9
oscarotero/env Version ^1.2.0
roots/wp-config Version 1.0.0
roots/wp-password-bcrypt Version 1.0.0
johnpbloch/wordpress Version ^6.1.1
ffflabel/services Version dev-main@dev
advanced-custom-fields/advanced-custom-fields-pro Version dev-master@dev
ffflabel/ffflabel Version dev-main@dev