PHPackages                             jonquihote/pluggable - 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. jonquihote/pluggable

ActiveLibrary

jonquihote/pluggable
====================

This package allows developers to plug their custom code into Action/Filter hooks, similar to WordPress

v1.0.1(today)00MITPHPPHP ^8.3CI failing

Since Aug 8Pushed todayCompare

[ Source](https://github.com/jonquihote/pluggable)[ Packagist](https://packagist.org/packages/jonquihote/pluggable)[ Docs](https://github.com/jonquihote/pluggable)[ RSS](/packages/jonquihote-pluggable/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (10)Versions (4)Used By (0)

Pluggable
=========

[](#pluggable)

 [![Packagist](https://camo.githubusercontent.com/3a89250c4c0623a7fe295f6992ae7570f5a14c0c1bb9a3da0fe3cab2734d84bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f6e717569686f74652f706c75676761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonquihote/pluggable) [![PHP from Packagist](https://camo.githubusercontent.com/7fab8594139ed0d0f04a7ba088e779cb2b968d994e0eb45e0cf150a1d2c62b6e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6a6f6e717569686f74652f706c75676761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonquihote/pluggable) [![Laravel versions](https://camo.githubusercontent.com/7971c92648ca1235b984dc0f8fd9c327de22a7b20116a61af2d4ba9a5092dc57/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f6a6f6e717569686f74652f706c75676761626c653f7374796c653d666c6174)](https://packagist.org/packages/jonquihote/pluggable) [![GitHub Workflow Status (main)](https://camo.githubusercontent.com/0b56a2b436cd1afc8cd9edaf5d4b16f324ebfbed72979bfa7f03f54255381704/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6f6e717569686f74652f706c75676761626c652f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473267374796c653d666c61742d737175617265)](https://github.com/jonquihote/pluggable/actions) [![Total Downloads](https://camo.githubusercontent.com/6badcd6d0391a2d83dfe035da3a001b0fab99cfc4ce4c29b9851a8f6e69a7997/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f6e717569686f74652f706c75676761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonquihote/pluggable)

Typed, synchronous WordPress-style actions and filters for Laravel. Pluggable lets packages and application modules react to events or contribute values without depending directly on each other. Dispatch uses the PSR-14 standard through [Tukio](https://github.com/Crell/Tukio).

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

[](#installation)

You can install the package via Composer:

```
composer require jonquihote/pluggable
```

Laravel discovers the package service provider and facade automatically. The package has no configuration, migrations, routes, views, or assets to publish.

### Laravel Boost

[](#laravel-boost)

Pluggable ships a Boost skill that teaches supported AI coding agents how to define, register, dispatch, and inspect actions and filters. After installing this package in an application that uses Laravel Boost, run:

```
php artisan boost:update
```

Select the `pluggable-development` skill when prompted. For a new Boost setup, `php artisan boost:install --skills` discovers the skill during installation.

Actions
-------

[](#actions)

Actions announce that something happened. Listeners perform side effects while the action object can carry results back to its caller.

```
