PHPackages                             agencetwogether/hookshelper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. agencetwogether/hookshelper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

agencetwogether/hookshelper
===========================

Simple plugin to toggle display hooks available in current page.

0.1.0(2mo ago)2312.7k↑38%2[1 issues](https://github.com/agencetwogether/hooksHelper/issues)MITPHPPHP ^8.1CI passing

Since Nov 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/agencetwogether/hooksHelper)[ Packagist](https://packagist.org/packages/agencetwogether/hookshelper)[ Docs](https://github.com/agencetwogether/hookshelper)[ GitHub Sponsors](https://github.com/agencetwogether)[ RSS](/packages/agencetwogether-hookshelper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (16)Versions (9)Used By (0)

Filament Hooks helper
=====================

[](#filament-hooks-helper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/358f1262f777f0e8ef93de8d3d2b9e5d08b2530b78512f3ba343ed606f02ab4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6167656e636574776f6765746865722f686f6f6b7368656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/agencetwogether/hookshelper)[![GitHub Tests Action Status](https://camo.githubusercontent.com/fe584c03d806aa1959f7728719481927b12357273d6d2d2b5198c116dad61f4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6167656e636574776f6765746865722f686f6f6b7368656c7065722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/agencetwogether/hookshelper/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/3458eb556520c38ccbd80eea5311c3c980c5b5dc37c4c28238c437c4ba4c34f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6167656e636574776f6765746865722f686f6f6b7368656c7065722f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/agencetwogether/hookshelper/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/910edf536ff5cc3529f2cb5b54c9424266ffb70c7195fb1dac4dc5ed5bf30bb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6167656e636574776f6765746865722f686f6f6b7368656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/agencetwogether/hookshelper)

This plugin allows you to easily look ALL render hooks available in Filament on current page with a toggle.

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Setup](#setup)
- [Usage](#usage)
    - [Placement](#placement)
    - [Icon](#icon)
    - [Minify toggle](#minify-toggle)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require agencetwogether/hookshelper
```

You can publish the config file with:

```
php artisan vendor:publish --tag="hookshelper-config"
```

This is the contents of the published config file:

```
return [
    /*
    |--------------------------------------------------------------------------
    | Render Hook
    |--------------------------------------------------------------------------
    | You may customize the render hook used to display the hooks visibility
    | toggle button. If null, this will be set to 'global-search.before'.
    | The 'panels::' prefix will be added automatically if omitted.
    |
    */
    'render_hook' => 'global-search.before',
    /*
    |--------------------------------------------------------------------------
    | Icon
    |--------------------------------------------------------------------------
    | You may select a different Heroicon to display for the hooks visibility
    | toggle button. If null, the default will be 'heroicon-m-cursor-arrow-rays'.
    |
    */
    'icon' => 'heroicon-m-cursor-arrow-rays',
    /*
    |--------------------------------------------------------------------------
    | Minify Button
    |--------------------------------------------------------------------------
    | Setting this to true will only display a small icon as a toggle button.
    | Otherwise, the button will display action label to perform.
    |
    */
    'tiny_toggle' => false,
];
```

You can publish the translations with:

```
php artisan vendor:publish --tag="hookshelper-translations"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="hookshelper-views"
```

Setup
-----

[](#setup)

First, instantiate the plugin in your Panel's configuration:

```
use Agencetwogether\HooksHelper\HooksHelperPlugin;

...

public function panel(Panel $panel) : Panel
{
    return $panel
        ->plugins([
            HooksHelperPlugin::make(),
        ]);
}
```

Usage
-----

[](#usage)

The plugin will add a toggle button to your Filament Admin Panel, left to the global search bar.

Clicking it will trigger display all hooks available in current page otherwise hide them.

[![image](https://raw.githubusercontent.com/agencetwogether/hooksHelper/main/assets/images/deactivated.jpg)](https://raw.githubusercontent.com/agencetwogether/hooksHelper/main/assets/images/deactivated.jpg)

[![image](https://raw.githubusercontent.com/agencetwogether/hooksHelper/main/assets/images/activated.jpg)](https://raw.githubusercontent.com/agencetwogether/hooksHelper/main/assets/images/activated.jpg)

### Placement

[](#placement)

The toggle button will be placed before the global search bar by default. If you want to change this, you can tweak the `render_hook` key in the config file.

You can use any of the [render hooks](https://filamentphp.com/docs/3.x/support/render-hooks#available-render-hooks)provided by Filament.

### Icon

[](#icon)

The toggle button show an icon. If you want to change this, you can tweak the `icon` key in the config file.

### Minify toggle

[](#minify-toggle)

You can only show icon in toggle. If you want to set this, you can tweak the `tiny_toggle` key in the config file.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Max](https://github.com/agencetwogether)
- [All Contributors](../../contributors)

Thanks
------

[](#thanks)

- [PovilasKorop](https://github.com/povilaskorop) for idea

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity35

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~93 days

Recently: every ~65 days

Total

6

Last Release

77d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04923f4e9213a358f93d2e5307ce4e756c674f6cc110eadc9945b6501663e0d3?d=identicon)[agencetwogether](/maintainers/agencetwogether)

---

Top Contributors

[![agencetwogether](https://avatars.githubusercontent.com/u/53862310?v=4)](https://github.com/agencetwogether "agencetwogether (11 commits)")[![yagrasdemonde](https://avatars.githubusercontent.com/u/35835849?v=4)](https://github.com/yagrasdemonde "yagrasdemonde (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![grafst](https://avatars.githubusercontent.com/u/8471055?v=4)](https://github.com/grafst "grafst (1 commits)")

---

Tags

filamentfilament-pluginfilamentphphookslaravelhelperhooksfilamentfilamentphpagencetwogether

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/agencetwogether-hookshelper/health.svg)

```
[![Health](https://phpackages.com/badges/agencetwogether-hookshelper/health.svg)](https://phpackages.com/packages/agencetwogether-hookshelper)
```

###  Alternatives

[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[aymanalhattami/filament-context-menu

context menu (right click menu) for filament

9838.0k](/packages/aymanalhattami-filament-context-menu)[asosick/filament-layout-manager

Allow users to create &amp; customize their own FilamentPHP pages composed of Livewire components

5718.8k2](/packages/asosick-filament-layout-manager)[omar-haris/filament-timezone-field

A Laravel Filament component that enables users to choose a specific timezone grouped by regions, with support for multiple languages.

1613.5k1](/packages/omar-haris-filament-timezone-field)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
