# sbx: Sandboxed Claude, complete with PHP and tools

DevFeed: [sbx: Sandboxed Claude, complete with PHP and tools](<https://devfeed.tech/articles/sbx-sandboxed-claude-complete-with-php-and-tools-33289.md>)

Original publisher: [Read original article](<https://freek.dev/3175-sbx-sandboxed-claude-complete-with-php-and-tools>)

Author: Freek Van der Herten (freek@spatie.be)

Published: 2026-08-10T10:30:04Z

Content type: tutorial

Language: en

Sources: [freek.dev - all blogposts](<https://devfeed.tech/sources/freek-dev-all-blogposts.md>)

Topics: [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [docker](<https://devfeed.tech/tags/docker.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [php](<https://devfeed.tech/tags/php.md>), [sandboxing](<https://devfeed.tech/tags/sandboxing.md>), [security](<https://devfeed.tech/tags/security.md>), [setup](<https://devfeed.tech/tags/setup.md>), [tools](<https://devfeed.tech/tags/tools.md>)

## AI overview

A practical walkthrough of running Claude Code inside Docker's new sbx sandbox, including a custom PHP setup and additional tools for open source work. It also explains why sandboxing AI coding agents can be a sensible default.

## Source excerpt

A practical walkthrough for running Claude Code inside Docker's new sbx sandbox, with a custom PHP setup and extra tools for open source work. Benjamin also explains why sandboxing AI coding agents is the sensible default. Read more