wire-elements / wire-spy
Devtools for Livewire
Fund package maintenance!
PhiloNL
Installs: 16 332
Dependents: 1
Suggesters: 0
Security: 0
Stars: 393
Watchers: 4
Forks: 13
Open Issues: 9
Language:JavaScript
Requires
- livewire/livewire: ^v3.0.0
README
Take your Livewire development to the next level with WireSpy. Instantly debug and interact with your components—inspect their state, modify it on the fly, and even time-travel through state changes to pinpoint issues. Stay on top of every event with a dedicated events page that displays dispatched events, the originating component, and the exact data payload. Plus, with the hot reload feature, any changes to your component files automatically refresh, keeping your workflow fast and efficient. WireSpy provides the power and precision you need to build and debug your Livewire apps.
Installation
Require this package using Composer:
composer require wire-elements/wire-spy --dev
Usage
Use CMD+L
or CTRL+L
on your keyboard to toggle WireSpy.
Configuration
To change the keybinding, publish the configuration file by running:
php artisan vendor:publish --tag=wire-spy-config
By default, WireSpy is enabled only in your local
environment. You can override this in config/wire-spy.php
or by setting an environment variable:
WIRE_SPY_ENABLED=true