Skip to main content

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.
hoop run --name artisan-demo --command 'php /path/to/artisan tinker'
If the command returns an exit code 1 when interacting via tinker. Configure the PsySH by disabling pcnl support:
cat - > ~/.config/psysh/config.php <<EOF
<?php
return [
    'usePcntl' => false,
];
EOF

How to Use

Users can now connect and perform ad-hoc executions via Webapp.
hoop connect artisan-demo