PHPackages                             codersamer/eventual - 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. codersamer/eventual

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

codersamer/eventual
===================

Events, Actions and Filters Management Library like WordPress ones

1.0.0(3y ago)06MITPHP

Since Aug 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/codersamer/eventual)[ Packagist](https://packagist.org/packages/codersamer/eventual)[ RSS](/packages/codersamer-eventual/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Laravel Eventual
================

[](#laravel-eventual)

Laravel Eventual Package is responsible to add functionality of WordPress-Link Actions and Filters with ease of use and implementation

Getting Started
---------------

[](#getting-started)

- First you need to install this package into your laravel project `composer require codersamer/eventual`
- Oh that's it, it's auto discoverable so you don't need any further steps to start use this package

Concept
-------

[](#concept)

usually you will be able to register and fire actions and filters using facade : `Codersamer\Eventual\Facades\Eventual` , so you will have access to static methods like `onFilter`, `onAction`, `doFilter`, `doAction`.

Working with Actions
--------------------

[](#working-with-actions)

Actions is like Events, something that happening and some other application parts needs to be notified by this event and act accordingly.

### Register Action Handler / Listener

[](#register-action-handler--listener)

You can Register an Action Handler or Listener using static method `onAction`

```
