logo
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.
shell
hoop run --name artisan-demo --command 'php artisan tinker'
To proxy ad-hoc executions add the command php artisan tinker - .
shell
hoop run --name astisan-demo --command 'php artisan tinker -'

How to Use

Users can now connect and perform ad-hoc executions.
shell
hoop connect artisan-demo
it will proxy the php artisan tinker command
shell
hoop exec artisan-demo -i 'echo "Hello World"'
it will run the command echo "Hello World" as an ad-hoc execution.