Start with your product
Create a fresh environment from a framework template, fork an existing sandbox, or import the repository you already own.
Take a product from its first working idea to a live application—and keep building in the same sandbox.
import { PHPSandbox } from '@phpsandbox/sdk'; const client = new PHPSandbox(token);const sandbox = await client.notebook.create( 'laravel', { title: 'Inventory API' });Start from a configured Laravel sandbox and carry the same environment forward as the product grows.
Laravel 12 / PHP 8.4Create, configure, run, preview, and publish from the same sandbox.
Create a fresh environment from a framework template, fork an existing sandbox, or import the repository you already own.
Work with files, Composer, terminals, services, secrets, mail, and ports—the actual moving parts of a PHP application.
Every sandbox can become a working preview. Share the product, test an integration, or make review concrete.
Publish to managed containers, Laravel Cloud, or your own server without leaving the product context.
The SDK and browser workspace operate on the same sandbox, so automation and hands-on development share files, services, processes, and state.
1 <?php
2
3 use Illuminate\Support\Facades\Route;
4
5 Route::get('/health', function () {
6 return ['status' => 'ready'];
7 });Let users run package examples with real Composer dependencies directly from the documentation.
Share the exact code, runtime, and dependency state behind a bug report or integration issue.
Give developers and automated tools a working environment and live URL for continued iteration.
PHPSandbox provides a great experience for our users to test the code right from the documentation. And for any new feature or bug report, we can share code and see the result immediately. For code demo with composer dependencies, it’s the best!
Create, run, preview, and publish your product from one environment.
Had any issue while using PHPSandbox or You have a feature suggestion? Put it here and send it to us!
Notebooks created when you are logged in will be saved to your account.
OR
Notebooks created when you are logged in will be saved to your account.
By continuing, you agree to PHPSandbox's Terms & Conditions and Privacy Policy