Running Commands

PHPSandbox allows you to run PHP commands inside Non-interactive notebooks. This means you can run PHP Commands from within the Laravel notebooks and also PHP Web Notebooks. This feature makes it possible to run artisan commands inside of Laravel notebooks.

To run commands, you need to open the Console from the sidebar in the notebook area or from the bottom-right part of the notebook footer.

PHP command console

Clicking on the icon shown in the image below will popout a Console.

Click on the icon to pop out the terminal

You can now run your commands by typing it in the input provided.

Command popout console

Environment variables