Prerequisites

To get the most out of this guide, you will need to:

Configuration

To proxy the php artisan tinker command, execute the following command within your root application path.

hoop run --name artisan-demo --command 'php artisan tinker'

To proxy ad-hoc executions, add the command php artisan tinker -.

hoop run --name astisan-demo --command 'php artisan tinker -'

How to Use

Users can now connect and perform ad-hoc executions.

hoop connect artisan-demo
hoop exec artisan-demo -i 'echo "Hello World"'