PHPackages                             aura/signal - 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. aura/signal

ActiveAura-package[Utility &amp; Helpers](/categories/utility)

aura/signal
===========

A SignalSlots/EventHandler implementation; with it, we can invoke handlers ('slots' or 'hooks') whenever an object sends a signal ('notification' or 'event') to the signal manager.

1.0.4(11y ago)3361.6k↓23.9%74BSD-2-ClausePHPPHP &gt;=5.4.0

Since Nov 28Pushed 7y ago8 watchersCompare

[ Source](https://github.com/auraphp/Aura.Signal)[ Packagist](https://packagist.org/packages/aura/signal)[ Docs](http://auraphp.com/Aura.Signal)[ RSS](/packages/aura-signal/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (4)

Aura Signal
===========

[](#aura-signal)

[![Build Status](https://camo.githubusercontent.com/aad2994cdd8c09f7717ce713d9b63a5e2f73a58e0053ef4090794d47e437c645/68747470733a2f2f7472617669732d63692e6f72672f617572617068702f417572612e5369676e616c2e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/auraphp/Aura.Signal)

The Aura Signal package is a SignalSlots/EventHandler implementation for PHP. With it, we can invoke handlers ("slots" or "hooks") whenever an object sends a signal ("notification" or "event") to the signal manager.

This package is compliant with [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md), [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), and [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md). If you notice compliance oversights, please send a patch via pull request.

Basic Usage
===========

[](#basic-usage)

Instantiating the Signal Manager
--------------------------------

[](#instantiating-the-signal-manager)

First, instantiate the signal `Manager` class. The easiest way to do this is to call the `Aura.Signal/scripts/instance.php` script.

```
