Laravel Playground 🚀
Laravel Playground (Code Runner) is a VS Code extension that lets you run Laravel code instantly inside Visual Studio Code.
💡 Download and install from the VS Code Marketplace:
🔗 Install Laravel Playground from Marketplace


✨ Features
- ▶ Run Laravel code directly from the editor
- 📂 Auto creates
.playground/test.php for experiments
- ⚡ Instant execution using PHP CLI
- 🧠 Full Laravel boot (Models, DB, Facades)
- 📊 Output panel with:
- JSON viewer
- HTML preview
- Error display
- 🔍 Global search with highlight
- 📋 Copy output
- 🧹 Clear all results
- 🕘 Output history tracking
📦 Local Installation
From VSIX
To create VSIX file follow this steps
- Step 1: Install packaging tool
npm install -g vsce
- Step 2: Package extension
vsce package
This will create "laravel-playground-0.0.1.vsix"
After
- Open VS Code
- Press
Ctrl + Shift + P
- Select
Install from VSIX
- Choose the
.vsix file
🚀 Usage
1. Open Playground
Ctrl + Shift + P → Open Laravel Playground
| |