PHPackages                             pointybeard/helpers-foundation-bnl - 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. pointybeard/helpers-foundation-bnl

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

pointybeard/helpers-foundation-bnl
==================================

Provides broadcaster &amp; listener pattern classes

1.0.0.2(6y ago)0786↓90.9%1MITPHPPHP &gt;=7.2

Since Mar 1Pushed 6y agoCompare

[ Source](https://github.com/pointybeard/helpers-foundation-bnl)[ Packagist](https://packagist.org/packages/pointybeard/helpers-foundation-bnl)[ Docs](https://github.com/pointybeard/helpers-foundation-bnl)[ RSS](/packages/pointybeard-helpers-foundation-bnl/feed)WikiDiscussions master Synced 3w ago

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

PHP Helpers: Broadcast &amp; Listen Foundation Classes
======================================================

[](#php-helpers-broadcast--listen-foundation-classes)

- Version: v1.0.0
- Date: March 01 2020
- [Release notes](https://github.com/pointybeard/helpers-foundation-bnl/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/helpers-foundation-bnl)

Provides broadcaster &amp; listener pattern classes

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

[](#installation)

This library is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/helpers-foundation-bnl` or add `"pointybeard/helpers-foundation-bnl": "~1.0.0"` to your `composer.json` file.

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

### Requirements

[](#requirements)

This library requires PHP7.2 or greater.

This library also makes use of the [PHP Helpers: Readable Trace Exception](https://github.com/pointybeard/helpers-exceptions-readabletrace) (`pointybeard/helpers-exceptions-readabletrace`). It is installed automatically via composer.

To include all the [PHP Helpers](https://github.com/pointybeard/helpers) packages on your project, use `composer require pointybeard/helpers`

Usage
-----

[](#usage)

Include this library in your PHP files with `use pointybeard\Helpers\Foundation\BroadcastAndListen` and implement the `BroadcastAndListen\Interfaces\AcceptsListenersInterface` interface like so:

```
