Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wire-elements/wire-spy
- Owner: wire-elements
- License: mit
- Created: 2024-09-01T21:05:10.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-15T14:56:28.000Z (2 months ago)
- Last Synced: 2024-10-25T02:56:01.580Z (about 2 months ago)
- Topics: debug, laravel, livewire
- Language: JavaScript
- Homepage: https://wire-elements.dev/blog/announcing-wirespy-a-sleek-new-debug-bar-for-livewire
- Size: 182 KB
- Stars: 306
- Watchers: 1
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
## WireSpy—a sleek new debug bar for Livewire
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:
```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
```