8000 GitHub - inigopascall/forge-artisan: Auto-detects PHP version for Laravel Forge isolated user sites and runs artisan commands. · GitHub
[go: up one dir, main page]

Skip to content

About

Auto-detects PHP version for Laravel Forge isolated user sites and runs artisan commands.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

forge-artisan

For usage on Forge-managed servers with website isolation, where sites are running different php versions. Rather than needing to remember or find which sites are running which php versions, this script pulls it automatically from the nginx config.

Instructions:

Run these commands once as root:

sudo curl https://raw.githubusercontent.com/inigopascall/forge-artisan/master/artisan -o /usr/local/bin/artisan sudo chmod +x /usr/local/bin/artisan

Now whenever you run artisan as any site user, it'll prepend the correct php version and run e.g. php8.2 artisan.

About

Auto-detects PHP version for Laravel Forge isolated user sites and runs artisan commands.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0