hmazter/clockwork-livewire-data-source

Laravel Livewire data source for Clockwork

Installs: 742

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/hmazter/clockwork-livewire-data-source

0.1.1 2025-10-20 08:08 UTC

This package is auto-updated.

Last update: 2025-10-23 08:02:08 UTC


README

Features

New tab with table of rendered components

component list

Livewire events added to timeline

timeline

Getting started

  1. Require the package via composer
    composer require --dev hmazter/clockwork-livewire-data-source
  2. The service provider is automatically registered
  3. You are good to go

Usage

Render a page containing a Livewire component, and you should see the component listed in the Clockwork UI, in the new Livewire tab. You should also see timing info about the events in the timeline, when and how long each mount/render/etc took.

Livewire events and arguments

These are the events that Livewire dispatches and the attributes for each event

  • mount - component, params, key, parent
  • render - component, view, properties
  • call - root, method, params, context, returnEarly
  • update - component, path, value
  • hydrate - component, memo, context
  • dehydrate - component, context
  • destroy - component, context
  • profile - event, id, timings(start, finish) - (only dispatched with app.debug = true)

Loading a page with a Livewire component

  • mount
  • render
  • dehydrate

Updating a model in a Livewire component

  • hydrate
  • update
  • render
  • dehydrate

Call a method on a Livewire component

  • hydrate
  • call
  • render
  • dehydrate