PHPackages                             wooshell/store-notifier - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. wooshell/store-notifier

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

wooshell/store-notifier
=======================

PHP notifier based on Symfony EventDispatcher. Sends notification(s) when events are fired. Provides file storage to keep tracks of notifications.

014PHP

Since Aug 3Pushed 12y agoCompare

[ Source](https://github.com/wooshell/store-notifier)[ Packagist](https://packagist.org/packages/wooshell/store-notifier)[ RSS](/packages/wooshell-store-notifier/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Store Notifier
==============

[](#store-notifier)

PHP notifier based on Symfony EventDispatcher.

- Sends notification(s) when events are fired.
- Provides file storage to keep tracks of notifications.

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

[](#installation)

```
$ composer install --dev

```

Store usage
-----------

[](#store-usage)

Store registration:

```
use wooshell\storeNotifier\StoreNotifier;

$myStoreDir = '/tmp/myStoreDir';
$myStore = 'cars';
$myStoreEntry = 'Smart Hayabusa';

$storeNotifier = new StoreNotifier($myStoreDir);

$storeNotifier->store($myStore);
$storeNotifier->store(...);

$store->log($myStoreEntry);

```

Store notification:

```
if (false === $store->exists($myStore, $myStoreEntry)) {
    $summary = '...';
    $body = '...';
    $store->send($summary, $body);
}

```

Store locking:

```
$lockFilepath = '/tmp/storeNotifier.lock';
$store->lock($lockFilepath );
...
$store->unlock($lockFilepath );

```

Custom Notification
-------------------

[](#custom-notification)

Create a listener:

```
use Symfony\Component\EventDispatcher\Event;
use wooshell\storeNotifier\EventDispatcher\Events\SendEvent;
use wooshell\storeNotifier\EventDispatcher\Listeners\ListenerInterface;

class EchoListener implements ListenerInterface
{
    /**
     * @param Event $event
     */
    public function send(Event $event)
    {
        /** @var SendEvent $event */
        echo($event->getSummary(), $event->getBody()));
    }
}

```

Add a listener into the store notifier:

```
$store->getDispatcher()->addListener(SendEvent::EVENT_SEND, array(new EchoListener() , 'send'));

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9146088?v=4)[wooshell](/maintainers/wooshell)[@wooshell](https://github.com/wooshell)

---

Top Contributors

[![willgarcia](https://avatars.githubusercontent.com/u/1169460?v=4)](https://github.com/willgarcia "willgarcia (1 commits)")

### Embed Badge

![Health badge](/badges/wooshell-store-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/wooshell-store-notifier/health.svg)](https://phpackages.com/packages/wooshell-store-notifier)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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