Skip to content

Commit

Permalink
added redis and flywp helper
Browse files Browse the repository at this point in the history
  • Loading branch information
tareq1988 committed Jan 29, 2024
1 parent 17bbda4 commit 173f77a
Show file tree
Hide file tree
Showing 4 changed files with 592 additions and 176 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ AUTH_SALT='generateme'
SECURE_AUTH_SALT='generateme'
LOGGED_IN_SALT='generateme'
NONCE_SALT='generateme'

FLYWP_API_KEY='YOUR-FLYWP-API-KEY'
WP_REDIS_PREFIX=''
30 changes: 23 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
}
],
"keywords": [
"bedrock", "composer", "roots", "wordpress", "wp", "wp-config"
"bedrock",
"composer",
"roots",
"wordpress",
"wp",
"wp-config"
],
"support": {
"issues": "https://github.com/roots/bedrock/issues",
Expand All @@ -27,7 +32,10 @@
{
"type": "composer",
"url": "https://wpackagist.org",
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"require": {
Expand All @@ -40,7 +48,9 @@
"roots/wordpress": "6.4.2",
"roots/wp-config": "1.0.0",
"roots/wp-password-bcrypt": "1.1.0",
"wpackagist-theme/twentytwentyfour": "^1.0"
"wpackagist-theme/twentytwentyfour": "^1.0",
"wpackagist-plugin/flywp": "<1.0",
"wpackagist-plugin/redis-cache": "^2.5"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7.1",
Expand All @@ -58,9 +68,15 @@
"prefer-stable": true,
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
"web/app/mu-plugins/{$name}/": [
"type:wordpress-muplugin"
],
"web/app/plugins/{$name}/": [
"type:wordpress-plugin"
],
"web/app/themes/{$name}/": [
"type:wordpress-theme"
]
},
"wordpress-install-dir": "web/wp"
},
Expand All @@ -69,4 +85,4 @@
"phpcs"
]
}
}
}
Loading

0 comments on commit 173f77a

Please sign in to comment.