PHPackages                             quisui/order-basic-notification - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. quisui/order-basic-notification

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

quisui/order-basic-notification
===============================

To ensure that we will not miss any sale and to keep track of the statuses of the orders a basic notification service needs to be created.

0.0.1(3y ago)128MITPHP

Since Mar 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Quisui/order-basic-notification)[ Packagist](https://packagist.org/packages/quisui/order-basic-notification)[ RSS](/packages/quisui-order-basic-notification/feed)WikiDiscussions master Synced today

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

Challenge order basic notification system
=========================================

[](#challenge-order-basic-notification-system)

Buckhill Challenge create a package for notifications - NotificationOrderStatusUpdater

### To ensure that we will not miss any sale and to keep track of the statuses of the orders a basic notification service needs to be created.

[](#to-ensure-that-we-will-not-miss-any-sale-and-to-keep-track-of-the-statuses-of-the-orders-a-basic-notification-service-needs-to-be-created)

Information
===========

[](#information)

The Observer pattern is implemented through events and listeners.
The package defines an event class called OrderStatusUpdated, which contains the data that will be passed to the listeners.
The package also defines a listener class called SendOrderStatusNotification, which is responsible for sending a notification to a webhook when an order status is updated.
The listener is registered to listen to the OrderStatusUpdated event in the EventServiceProvider class.
When the OrderStatusUpdated event is fired (usually through code that updates an order's status), the SendOrderStatusNotification listener is triggered and the notification is sent via a webhook.
This implementation allows other developers to easily add new listeners for the OrderStatusUpdated event if they want to perform additional actions when an order status is updated, without having to modify the existing code.

This method will make this listener available inside your app:
[src/ordernotificationprovider.php](https://github.com/Quisui/order-basic-notification/blob/master/src/OrderNotificationProvider.php)
$this-&gt;app\['events'\]-&gt;listen( 'Quisui\\OrderBasicNotification\\Events\\OrderStatusUpdated', 'Quisui\\OrderBasicNotification\\Listeners\\SendOrderStatusNotification' );

Installation
============

[](#installation)

> composer require quisui/order-basic-notification

Usage
=====

[](#usage)

1. create a new NotificationOrderStatusUpdater object on any part of your code
2. When you have your object prepared

```

```

3. This wil require some required parameters as an array

```

```

Now everytime that you want to consume any webhook url and send specific information you can use this basic event listener that will send your information

\#testing [![image](https://user-images.githubusercontent.com/22399803/227753346-8607cd60-afb9-4d20-af54-e10f29c5d6a6.png)](https://user-images.githubusercontent.com/22399803/227753346-8607cd60-afb9-4d20-af54-e10f29c5d6a6.png)

To run your tests:

- navigate to your project with cd command: vendor/quisui/order-basic-notification
- now you will need to run: on your terminal: ../../vendor/bin/phpunit tests/OrderStatusUpdatedTest.php

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1196d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dde1f653bd744f78eb7a2eb58609d4e9603727a8abac320ccad3a88ed6d8329a?d=identicon)[Quisui](/maintainers/Quisui)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/quisui-order-basic-notification/health.svg)

```
[![Health](https://phpackages.com/badges/quisui-order-basic-notification/health.svg)](https://phpackages.com/packages/quisui-order-basic-notification)
```

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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