Interact with the Artisan console or execute ad-hoc scripts.
Configuration
To proxy the
php artisan tinker
command, execute the following command within your root application path.shellhoop run --name artisan-demo --command 'php artisan tinker'
To proxy ad-hoc executions add the command
php artisan tinker -
.shellhoop run --name astisan-demo --command 'php artisan tinker -'
How to Use
Users can now connect and perform ad-hoc executions.
shellhoop connect artisan-demo
php artisan tinker
commandshellhoop exec artisan-demo -i 'echo "Hello World"'
"Hello World"
as an ad-hoc execution.