Introduction
PHPSandbox provides isolated environments for creating, running, sharing, publishing, and improving products. We call each one a product sandbox.
A product sandbox is not limited to an application or its runtime. It can bring together the code, files, tools, previews, demos, presentations, feedback, and integrations that support a product as it develops.
Today, you can describe what you want to build, start from a framework template, or import a GitHub repository. The sandbox keeps the project’s files, dependencies, runtime configuration, services, processes, and live URLs together as you work.
The product loop
A product sandbox supports the complete product loop:
- Create or import a product from a framework template, another sandbox, or a repository.
- Build and run it with the files, dependencies, configuration, services, commands, and tests it needs.
- Preview and share the product through a live URL.
- Publish it to a deployment provider.
- Collect feedback and iterate on what you published.
Feedback leads to the next change. Return to the same sandbox, continue working, and publish the next version.
One sandbox, two interfaces
Work on a product interactively in the browser.
Create and control product sandboxes from an application, workflow, or agent.
Both interfaces operate on the same sandbox. Work started through the SDK can be inspected and continued in the Workspace.
What can you build?
- Product prototypes: build an idea, run it, share it, and continue iterating in the same sandbox.
- Interactive documentation: let people run examples with their real dependencies and runtime.
- Demos and presentations: present a product in the environment where it actually works.
- Reproducible support: share the code, configuration, and running state behind a problem.
- Automated product workflows: let applications, integrations, and agents create and control sandboxes programmatically.
Next steps
Start with the Workspace quickstart to work on a product interactively in the browser.
Start with the SDK quickstart to control a sandbox from an application, workflow, or agent.
Read Sandboxes to understand the environment shared by both interfaces.
Project, workspace and conversation
A project is the working home for a codebase and its conversations, connected repository, secrets and settings. A sandbox holds the files and running processes. The Workspace is the browser screen where you use chat, Preview, Code and other workbench views.
A conversation is one thread of instructions and replies inside a project. Starting another conversation separates its history; it does not create a new codebase. A task tracks work and its runs, often in an isolated sandbox fork that you review before merging.
Find the guide for your next step
| What you want to do | Guide |
|---|---|
| Build a first version | Workspace quickstart |
| Choose a starter or continue existing code | Create or import |
| Explain a change or point at a screen | Agent chat and visual editing |
| Save to GitHub or review a pull request | Version control |
| Configure credentials | Dependencies and environment |
| Put an app at a live address | Publishing |
| Invite teammates or review billing | Organizations, billing and access |
| Connect external tools | Integrations |
| Run isolated or scheduled work | Tasks and scheduled chats |
You do not need to read every guide in order. Choose the one for the task you are doing now.
What’s in the docs
Understand the workspace, SDK, and shared sandbox model.
Learn how product sandboxes run, persist, preview, and stay secure.
Build interactively with files, terminals, dependencies, previews, mail, and Git.
Manage organization access, billing, integrations, tasks and scheduled chats.
Create, control, observe, and publish sandboxes programmatically.