PHPackages                             luminarix/laravel-web-tinker-pro - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. luminarix/laravel-web-tinker-pro

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

luminarix/laravel-web-tinker-pro
================================

Minimal PHP tinker, redesigned.

v0.0.6(9mo ago)21.1k↑78.6%[4 PRs](https://github.com/luminarix/laravel-web-tinker-pro/pulls)MITTypeScriptPHP ^8.4CI passing

Since Aug 10Pushed 1mo agoCompare

[ Source](https://github.com/luminarix/laravel-web-tinker-pro)[ Packagist](https://packagist.org/packages/luminarix/laravel-web-tinker-pro)[ Docs](https://github.com/luminarix/laravel-web-tinker-pro)[ GitHub Sponsors](https://github.com/luminarix)[ RSS](/packages/luminarix-laravel-web-tinker-pro/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (12)Versions (10)Used By (0)

🚀 Laravel Web Tinker Pro
========================

[](#-laravel-web-tinker-pro)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c8e46e2515ee7bb338c62f1a43085b3d9039db164bf2ad104d6ce8561f4f0c92/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c756d696e617269782f6c61726176656c2d7765622d74696e6b65722d70726f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/luminarix/laravel-web-tinker-pro)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5dd78254df482b6d8c47b5f70e310882be2e2bdfdac94d0a6a9aa04425a55808/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c756d696e617269782f6c61726176656c2d7765622d74696e6b65722d70726f2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/luminarix/laravel-web-tinker-pro/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/0e30e8236082f1dc5bc8b45941358f83466173149209663372e612a83c05f637/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c756d696e617269782f6c61726176656c2d7765622d74696e6b65722d70726f2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/luminarix/laravel-web-tinker-pro/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4ecd09193a9ccdd88078f74fe2ba147da32f401ac377c580a7d08b22e65e025b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c756d696e617269782f6c61726176656c2d7765622d74696e6b65722d70726f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/luminarix/laravel-web-tinker-pro)

> **Minimal PHP tinker, redesigned.** A modern, feature-rich web-based PHP code execution environment built with React 19, TypeScript, and Monaco Editor.

Laravel Web Tinker Pro transforms the traditional command-line PHP tinker experience into a powerful, browser-based IDE. Execute PHP code instantly, manage multiple sessions with advanced tabbing, and enjoy a seamless development workflow with intelligent code completion, syntax highlighting, and execution history.

---

✨ Features at a Glance
----------------------

[](#-features-at-a-glance)

### 🎯 **Core Functionality**

[](#-core-functionality)

- **Instant PHP Execution**: Run PHP code directly in your browser with real-time output
- **Multi-Tab Management**: Work with multiple code snippets simultaneously with smart tab overflow handling
- **REPL Mode**: Persistent execution state across multiple code runs
- **Execution History**: Track, pin, and compare your code executions with detailed metadata

### 🎨 **Modern User Experience**

[](#-modern-user-experience)

- **Monaco Editor Integration**: Full-featured code editor with PHP syntax highlighting and autocompletion
- **Dual Theme Support**: Light and dark themes with optional background patterns
- **Responsive Design**: Optimized for desktop and mobile devices
- **Smart Split View**: Resizable code editor and output panels

### 🔧 **Advanced Tab Management**

[](#-advanced-tab-management)

- **Drag &amp; Drop Reordering**: Organize tabs with intuitive drag-and-drop
- **Tab Actions**: Pin, lock, duplicate, and search functionality
- **Overflow Management**: Smart tab overflow with searchable dropdown
- **Tab List Modal**: Full-screen tab management with filtering
- **Keyboard Shortcuts**: Cmd/Ctrl+Enter to execute code instantly
- **AI content summary (BYOK)**: Generate AI summaries for code snippets with a single click (work in progress)

### 📊 **Intelligent Output Handling**

[](#-intelligent-output-handling)

- **HTML Output Detection**: Automatic detection and safe rendering of HTML content
- **Execution Metrics**: Runtime, memory usage, and output size tracking
- **Output Copying**: One-click copy functionality for all outputs

### 🔄 **State Management**

[](#-state-management)

- **Persistent Storage**: Automatic saving of tabs, themes, and preferences
- **Code Sharing**: Generate shareable URLs for code snippets (work in progress)
- **Session Recovery**: Restore your work exactly where you left off

---

🎮 Frontend Features Deep Dive
-----------------------------

[](#-frontend-features-deep-dive)

### 🗂 **Advanced Tab System**

[](#-advanced-tab-system)

**Multi-Tab Management**Our sophisticated tab system supports:

- **Dynamic Tab Creation**: Add unlimited tabs for different code snippets
- **Smart Naming**: Auto-generated names with manual renaming support (50 char limit)
- **Tab States**: Active, pinned, and locked states for better organization
- **Overflow Handling**: Smart tab overflow with searchable dropdown when space is limited
- **Tab Actions**: Full CRUD operations with intuitive UI controls

**Drag &amp; Drop Support**Built with `@dnd-kit/core` for:

- **Tab Reordering**: Drag tabs to reorganize your workspace
- **Visual Feedback**: Real-time drag indicators and hover states
- **Lock Protection**: Locked tabs cannot be reordered and edited

### 💻 **Monaco Editor Integration**

[](#-monaco-editor-integration)

**Custom PHP Language Support****PHP-Inline Language Definition**:

- **Syntax Highlighting**: Full PHP tokenization without `
