lorddashme / wordpress-scaffolding
A kick starter project structure for Wordpress.
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 5
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=5.6 || >=7.0 || >=7.1 || >=7.2
- lorddashme/wordpress-db-schema-extender: ^1.0
Requires (Dev)
- fzaninotto/faker: ^1.8@dev
- mockery/mockery: ~1.0
- phpunit/phpunit: 5.* || 6.* || 7.*
- wp-cli/wp-cli: ^1.5
README
🏗️ 🚧 👷 A kick starter project structure for Wordpress.
Note
-
The Wordpress core is only registered as git submodule in
/wp/
, -
Current git submodule Wordpress version is 4.9.8.
Supported Web Server
- Apache
Requirement(s)
-
PHP version from 5.6.* up to latest.
-
You can also check the latest Wordpress requirements: https://wordpress.org/about/requirements/
Install
-
Recommended to install the project via Composer. Use the command below to install the package:
composer create-project lorddashme/wordpress-scaffolding <your-project-name>
Usage
-
Add what ever wordpress version you want to use in
/wp/
.- You can check the current Wordpress download releases here: https://wordpress.org/download/releases/
-
Optional: If you are lazy to install wordpress on your own, you can follow the instruction below.
-
To install specific Wordpress version you can use the command below, but make sure you are in the root directory of the project:
php wordpress-scaffolding install <your-wordpress-version>
-
-
Copy and rename the default file(s):
-
wp-config-sample.php
>wp-config.php
- To enable the Wordpress config file. -
For apache only:
htaccess-sample
>.htaccess
- To enable some security and override the apache host setup.
-
License
- This package is open-sourced software licensed under the MIT license.