Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wire-elements/wire-spy

WireSpy—a sleek new debug bar for Livewire
https://github.com/wire-elements/wire-spy

debug laravel livewire

Last synced: about 15 hours ago
JSON representation

WireSpy—a sleek new debug bar for Livewire

Awesome Lists containing this project

README

        

## WireSpy—a sleek new debug bar for Livewire


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:

```shell
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:

```shell
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:

```dotenv
WIRE_SPY_ENABLED=true
```