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.4The whole product loop
Create, 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.
One sandbox, two interfaces
The SDK and browser workspace operate on the same sandbox, so automation, AI-assisted building, and hands-on development share files, services, processes, and state.
Build an inventory dashboard with stock alerts and a searchable product table.
Built into real workflows
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!
kylekatarnls Maintainer of Carbon PHP LibraryReady to build?
Describe what you want, run it, preview it, and publish it from one environment.