PHPackages                             mvaliolahi/notify - 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. mvaliolahi/notify

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

mvaliolahi/notify
=================

Framework agnostic PHP library to simplify interact with common messaging platforms.

v0.0.1(8y ago)16MITPHP

Since Mar 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mvaliolahi/notify)[ Packagist](https://packagist.org/packages/mvaliolahi/notify)[ Docs](https://mvaliolahi.ir)[ RSS](/packages/mvaliolahi-notify/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Notify
------

[](#notify)

Framework agnostic PHP library to simplify interact with common messaging platforms, but [Slack](https://slack.com) for now!

#### Install

[](#install)

```
composer require mvaliolahi/notify
```

#### Getting start

[](#getting-start)

```
$notify = new Notify(new SlackDriver([
    'web_hook' => 'your slack web-hook'
]));

$notify->send((new Slack)->text('Hello World!'));
```

#### Develop Guide

[](#develop-guide)

##### What is a bot? / How can i create a new one?

[](#what-is-a-bot--how-can-i-create-a-new-one)

Bot is a definition for any class that implements `Mvaliolahi\Notify\Contracts\Bot`, bot can interact with user to collect all necessary information to pass into `$notify->send()` method.

when bots passed to `$notify->send()`, the notify object is able to send this information to any messaging platform, obviously using specified Driver.

##### What is driver? / How can i implement it for other platforms?

[](#what-is-driver--how-can-i-implement-it-for-other-platforms)

Driver is a class that implements `Mvaliolahi\Notify\Contracts\Driver`, the only responsibility of driver is fetching essential data from `$bot` object, and implement related logic to send through messaging-platform.

it is clear enough that`$notify->send()` is just a wrapper around driver `execute()` method.

##### Slack Bot

[](#slack-bot)

The code shows you everything :)

```
(new Slack)
->text('Normal text')
->format()->pre('text') // like  tag in html
->format()->bold('Bold text.')
->format()->italic('Italic text.')
->format()->blockQuotes('Italic text.')
->format()->strikeThrough('Italic text.')
->format()->code(' The only thing we need is just words.')
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2988d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d8a3eaee2623560bfdc9906358e1805abd4adf9fcd9170eba274fcfd8a51443?d=identicon)[mvaliolahi](/maintainers/mvaliolahi)

---

Top Contributors

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

---

Tags

notificationSlack Notification

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mvaliolahi-notify/health.svg)

```
[![Health](https://phpackages.com/badges/mvaliolahi-notify/health.svg)](https://phpackages.com/packages/mvaliolahi-notify)
```

###  Alternatives

[symfony/notifier

Sends notifications via one or more channels (email, SMS, ...)

80640.3M290](/packages/symfony-notifier)[jolicode/jolinotif

Send desktop notifications on Windows, Linux, MacOS.

1.4k11.6M41](/packages/jolicode-jolinotif)[duccio/apns-php

Apple Push Notification &amp; Feedback Provider

1.4k2.5M13](/packages/duccio-apns-php)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)

PHPackages © 2026

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