Download the PHP package luminarix/laravel-web-tinker-pro without Composer
On this page you can find all versions of the php package luminarix/laravel-web-tinker-pro. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download luminarix/laravel-web-tinker-pro
More information about luminarix/laravel-web-tinker-pro
Files in luminarix/laravel-web-tinker-pro
Package laravel-web-tinker-pro
Short Description Minimal PHP tinker, redesigned.
License MIT
Homepage https://github.com/luminarix/laravel-web-tinker-pro
Informations about the package laravel-web-tinker-pro
🚀 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
🎯 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
- 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
- Drag & 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
- 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
- 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
🗂 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 controlsDrag & 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
Custom PHP Language Support
**PHP-Inline Language Definition**: - **Syntax Highlighting**: Full PHP tokenization without `Output Rendering System
- **HTML Detection**: Intelligent content type detection - **Safe Rendering**: DOMPurify integration for XSS protection - **Fallback Handling**: Plain text rendering for non-HTML content - **REPL Mode**: Multi-cell execution with persistent state - **Execution Stats**: Runtime, memory, and output size display - **History Integration**: Quick access to execution history - **Copy Functionality**: One-click output copying🎨 Theme & Styling System
Adaptive Theming
- **Dual Themes**: Light and dark mode with system preference detection - **Background Patterns**: Optional grid patterns for enhanced visual appeal -📱 Responsive Design
Mobile-First Architecture
**Responsive Components:** - **Header.tsx**: Mobile hamburger menu with full desktop functionality - **TabManager.tsx**: Mobile-optimized tab display with overflow handling - **Split Panels**: Responsive layout that adapts to screen size - **Touch Support**: Full touch gesture support for mobile devices🚀 Installation & Setup
Laravel Web Tinker Pro requires PHP 8.4 and supports Laravel 12 and 13.
Quick Start
Then, publish the configuration and assets:
Default route and considerations
By default, the package will be available at /tinker-pro. You can change this by modifying the web-tinker-pro.php config file.
By default, the route will only be accessible from the local environment. You can override this behavior by creating your own Gate:
🤝 Contributing
We welcome contributions! Please see our contributing guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 Changelog
Please see CHANGELOG for more information on what has changed recently.
👥 Credits
- Luminarix Labs
- Spatie for the original Web Tinker
- All Contributors
📄 License
Laravel Web Tinker Pro is open-sourced software licensed under the MIT license.
All versions of laravel-web-tinker-pro with dependencies
illuminate/contracts Version ^12.0|^13.0
spatie/laravel-package-tools Version ^1.16