The ultimate cross-platform desktop app for testing and running PHP code. Connect to local projects, Docker containers, SSH servers, or Laravel Vapor with a beautiful Monaco-powered editor.
<?php
use App\Models\User;
// Find users with TweakPHP
$users = User::where('active', true)
->with(['posts', 'comments'])
->orderBy('created_at', 'desc')
->take(10)
->get();
foreach ($users as $user) {
echo $user->name . "\n";
}Everything you need to test and run PHP code efficiently
The same powerful editor that powers VS Code. Syntax highlighting, IntelliSense, and a seamless coding experience.
Run code directly on your local PHP projects with automatic framework detection.
Execute code inside Docker containers. Perfect for isolated testing environments.
Run code on remote servers via SSH.
Intelligent code suggestions powered by AI.
Intelligent code autocompletion.
Laravel, Symfony, and more.
Get started in three simple steps
Get TweakPHP for your operating system. Available for macOS, Linux, and Windows.
Choose your target: local project, Docker container, SSH server, or Vapor environment.
Write, run, and iterate on your PHP code instantly with real-time output.
Join thousands of developers who trust TweakPHP for their daily PHP testing needs.
Thanks to all our amazing contributors