agencetwogether/hookshelper
Filament plugin that reveals every render hook available on the current page with a toggle button. Install via Composer, publish the config, and customize the render hook, Heroicon, and minify toggle.
Architecture fit
->plugins([HooksHelperPlugin::make()])) and its render-hook system. No core patching, no service overrides, no database footprint.Integration feasibility
composer require, one line in the Panel provider, optional config publish. No migration, no schema, no data backfill, no coordinated release.render_hook (anchor placement, defaults to global-search.before with the panels:: prefix auto-applied), icon, tiny_toggle. Views and translations are publishable but optional.Technical risk
1.0.0 "initial release" alongside 0.1.0, plus future-dated release metadata). Nothing here is alarming for a dev utility, but it does mean we should not treat version numbers as a maturity signal and should expect no SLA.Key questions
->local()/app()->isLocal() conditional, or require-dev? (Recommend both.)global-search.before as a live anchor? Each panel may need a different render_hook.Stack fit
composer.lock rather than the README). No additional runtime libraries.Migration path
composer require --dev agencetwogether/hookshelper, pinned to an exact version to make upgrades deliberate.php artisan vendor:publish --tag="hookshelper-config". Skip views and translations — they create upgrade drift for no benefit.Panel provider, gated on local/staging. Never unconditional.render_hook to an anchor that exists in that panel, and tiny_toggle => true if the topbar is crowded.composer remove --dev agencetwogether/hookshelper, delete the config. Two minutes.Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes
| Failure | Symptom | Detection | Response |
|---|---|---|---|
| Anchor hook removed/renamed by Filament | Toggle silently disappears | Manual, noticed | Update render_hook in config |
| Filament major upgrade, no compatible release | Plugin errors or is inert | Blocked by upgrade test pass | Pin old version, wait, or fork |
| Registered unconditionally | Toggle visible in production to all panel users | Code review / prod smoke test | Add environment guard, release |
| Published views drift from upstream | Stale or broken markup after upgrade | Only if views were published | Delete published views, use package defaults |
| Upstream abandoned | No fixes for future Filament versions | Periodic check | Fork or remove; both cheap |
Ramp-up
How can I help you explore Laravel packages today?