Back to Recipes
vmitchell85
2 recipes shared
List WP Users (Requires WP-CLI)
After changing to the default Forge installation directory (/home/forge) the script loops over every folder and if a "wp-config.php" file exists it prints the folder name, then runs the `wp user li...
cd /home/forge
for d in */ ; do
cd $d
if [ -f wp-config.php ]; then
8 years ago
vmitchell85
Check Laravel Versions
This Recipe loops through all the sites on your Forge box, checks for the `artisan` file and prints the Laravel version if present.
cd /home/forge
for d in */ ; do
cd $d
if [ -f artisan ]; then
8 years ago
vmitchell85