wire-elements/wire-spy

Devtools for Livewire

Fund package maintenance!
PhiloNL

Installs: 9 256

Dependents: 1

Suggesters: 0

Security: 0

Stars: 363

Watchers: 3

Forks: 10

Open Issues: 4

Language:JavaScript

v0.0.9 2024-10-15 14:56 UTC

This package is auto-updated.

Last update: 2024-11-05 05:49:27 UTC


README

Total Downloads Latest Stable Version License

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.

WireSpy

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