https://github.com/elseifab/bedrock
WordPress/Bedrock boilerplate with homestead, test and deploy
https://github.com/elseifab/bedrock
Last synced: 5 months ago
JSON representation
WordPress/Bedrock boilerplate with homestead, test and deploy
- Host: GitHub
- URL: https://github.com/elseifab/bedrock
- Owner: elseifab
- Created: 2016-11-26T19:59:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-27T12:09:58.000Z (over 9 years ago)
- Last Synced: 2025-03-27T13:48:21.313Z (over 1 year ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bedrock
The project package is used as boilerplate at Elseif AB to new WordPress projects.
This project is supposed to be initialized with a `composer create-project elseif/bedrock your-project-name`.
Change all `MyProject` and `my-project` to your project name and namespace!
The package is under work in progress and will change over time.
## Requirements
* PHP >= 7
* Composer - [Install](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)
## [Bedrock](https://roots.io/bedrock/)
Roots Bedrock is the foundation.
## [Homestead Laravel](https://laravel.com/docs/5.3/homestead#per-project-installation)
Vagrant box Homestead as a "per project install".
```
vagrant up
```
## [PHP Deployer](https://deployer.org/)
Deployer scripts use PHP Deployer.
## Tests
### Requirements
* Node and CasperJS, install: `npm install -g phantomjs casperjs`
### Running tests
Run quality assurance test through composer:
```
composer run-script test
```
Checks/runs:
* PHPCS
* PHPMD
* PHPUnit
## Other
* [roots-wp-salt](https://roots.io/salts.html)
* Use Gitflow in your projects via Sourcetree or install Gitflow with brew: `brew install git-flow`.