TinkerVault

TinkerVault is an advanced, high-productivity GUI for Laravel Tinker designed to supercharge your database and backend workflow. Eliminate context switching, skip repetitive boilerplate typing, and bypass raw shell outputs—interact with your database, profile queries, and manage your Laravel environment directly within VS Code.
Core Capabilities & Features
TinkerVault brings deep integration and powerful utility suites to your Laravel workspace:
- Interactive Command Execution: Run raw PHP and Eloquent commands with a robust editor or use pre-configured form presets for common operations.
- Automated Model Discovery: Automatically index and explore your workspace's Eloquent models to easily construct boilerplate queries.
- SQL Query Profiling: Automatically profile and track executed SQL queries, execution times, and parameter bindings.
- Rich Data Visualization: View returned models, collections, and arrays in high-fidelity tables or interactive JSON trees.
- Environment & Connection Pulse: Instantly monitor your current Laravel environment, active database driver, and application configuration.
Key Feature Suites
1. Environment & Presets Console
- Environment Diagnostics: Live pulse check displaying active Environment (
local, staging, custom), App Key status (Set/Missing), PHP Debug configuration, and active Database connection driver.
- Artisan Presets (Ops Hub): Execute common presets (Laravel Decryption, Model Discovery, Artisan Orchestration) with a single click.
- Persistent Command History: Tracks up to 50 executed operations with left-aligned, scrollable cards and an instant "Clear History" bulk option.
- Saved Snippets: Elevate execution histories or custom scripts to a permanent, searchable snippet gallery.
- Monaco-Powered PHP Editor: A fully integrated code editor with PHP syntax highlighting and autocompletion for major Laravel Eloquent methods (
where, find, paginate, with, whereHas, latest, etc.).
- Form-Based Presets: A form-based preset builder for swift boilerplate execution with zero typing, plus manual decryption key override support.
- Model Discovery Builder: Scans
app/Models and app/ directories to expose your project's active Eloquent models, allowing you to instantly generate query boilerplates.
3. Visual Diagnostics & Analytics
- Interactive Database Grid: Renders returned Eloquent collections or associative arrays into clean, sortable, paginated, and scrollable tabular grids.
- Collapsible JSON Tree: Monaco-powered JSON editor displaying structured, collapsible trees for nested configurations and API payloads.
- Raw Diagnostics Terminal: Full stdout console display, warning/error alerts, micro-diagnostics, and one-click clipboard copying.
- Advanced SQL Query Profiler: Logs executed database queries, displays bound parameters, database query execution times, and features a Color-Coded Performance Legend (Optimal/Green, Slow/Amber, Very Slow/Red).
- Execution Diagnostics: A developer-exclusive tracking pane for detailed environment logs, temp file states, and child process execution paths.
4. Data Export Hub
Seamlessly export visual data representations, query lists, and execution outputs into standard structured formats:
- JSON (.json)
- CSV (.csv)
- Excel (.xls)
In Action
A premium sidebar experience with multi-view results.
Installation & Setup
- Open Workspace: Ensure you are in a valid Laravel project directory.
- Access Activity Bar: Click the Laravel icon (Rocket) in the VS Code sidebar.
- Run Tinker: Choose an operation or type raw PHP inside the Monaco editor to begin.
Requirements
- PHP 8.0+
- Laravel 8.x / 9.x / 10.x / 11.x
artisan file in the workspace root directory.
Available Resources
Developed with ❤️ by Shivam Kumar Sah under DevNode for the Laravel Community.
| |