https://github.com/itinerisltd/preflight-extra
Extra preflight-command checkers for professtional developers
https://github.com/itinerisltd/preflight-extra
best-practices wp-cli wp-cli-package
Last synced: 9 days ago
JSON representation
Extra preflight-command checkers for professtional developers
- Host: GitHub
- URL: https://github.com/itinerisltd/preflight-extra
- Owner: ItinerisLtd
- License: mit
- Created: 2018-08-18T13:20:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-22T07:05:55.000Z (over 7 years ago)
- Last Synced: 2025-03-07T03:17:02.488Z (about 1 year ago)
- Topics: best-practices, wp-cli, wp-cli-package
- Language: PHP
- Size: 37.1 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# itinerisltd/preflight-extra
[](https://packagist.org/packages/itinerisltd/preflight-extra)
[](https://packagist.org/packages/itinerisltd/preflight-extra)
[](https://packagist.org/packages/itinerisltd/preflight-extra)
[](https://github.com/ItinerisLtd/preflight-extra/blob/master/LICENSE)
[](https://www.itineris.co.uk/contact/)
Extra [preflight-command](https://github.com/ItinerisLtd/preflight-command) checkers for professional developers.
TODO: Write the readme!
### Installation
```bash
$ wp package install itinerisltd/preflight-extra:@stable
```
### preflight.toml
```toml
# Note: extra-expected-status-codes is experimental.
[extra-expected-status-codes]
enabled = true # Default is enabled.
[[extra-expected-status-codes.groups]]
code = 404
paths = [
'/not-found',
]
[[extra-expected-status-codes.groups]]
code = 200
paths = [
'/',
'/hello-world',
]
[extra-production-home-url]
url = 'https://example.com'
[extra-production-site-url]
url = 'https://example.com/wp' # Maybe same as home URL
[extra-required-constants]
includes = [
'WP_ENV',
'MY_CONSTANT_A',
'MY_CONSTANT_B',
]
[extra-required-packages]
includes = [
'aaemnnosttv/wp-cli-login-command',
'itinerisltd/preflight-yoast-seo',
]
[extra-required-plugins]
includes = [
'sunny',
'wp-cloudflare-guard',
]
```
### For Itineris Team
```bash
$ composer test
$ composer check-style
```
Pull requests without tests will not be accepted!