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

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

ledc/notify
===========

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Iyuu、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、Zulip).

v8.0.2(1y ago)011MITPHPPHP &gt;=8.2

Since May 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ledccn/notify)[ Packagist](https://packagist.org/packages/ledc/notify)[ Docs](https://github.com/guanguans/notify)[ Fund](https://www.guanguans.cn/images/wechat.jpeg)[ RSS](/packages/ledc-notify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (27)Versions (3)Used By (0)

notify
======

[](#notify)

Note

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Iyuu、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、Zulip).

[![tests](https://github.com/guanguans/notify/actions/workflows/tests.yml/badge.svg)](https://github.com/guanguans/notify/actions/workflows/tests.yml)[![check & fix styling](https://github.com/guanguans/notify/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/guanguans/notify/actions/workflows/php-cs-fixer.yml)[![codecov](https://camo.githubusercontent.com/6df2af060d01e60500c8446986d88fe76df5c5662851d1e38806d2f8739ab765/68747470733a2f2f636f6465636f762e696f2f67682f6775616e6775616e732f6e6f746966792f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d55524746415753365334)](https://codecov.io/gh/guanguans/notify)[![Latest Stable Version](https://camo.githubusercontent.com/4d50a3ab750d53d44b191514c70be363b8276a1e0a22add5b1e59d6234962c92/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6e6f746966792f76)](https://packagist.org/packages/guanguans/notify)[![GitHub release (with filter)](https://camo.githubusercontent.com/db6de78b3127d3aab230b2d1db6c28c6cd49eda85a2fe76c21bed34136326803/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6775616e6775616e732f6e6f74696679)](https://github.com/guanguans/notify/releases)[![Total Downloads](https://camo.githubusercontent.com/7f0f465a08491c00cac60b00251d8bd481044dda6fefc0e66d3d0a4287141771/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6e6f746966792f646f776e6c6f616473)](https://packagist.org/packages/guanguans/notify)[![License](https://camo.githubusercontent.com/091b1a5245a17579010e01dc5a6cf72d3b8457c6f1d732f7e216d82951acf94f/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6e6f746966792f6c6963656e7365)](https://packagist.org/packages/guanguans/notify)

Platform support
----------------

[](#platform-support)

- [AnPush](./src/AnPush/README.md)
- [Bark](./src/Bark/README.md)
- [Chanify](./src/Chanify/README.md)
- [DingTalk](./src/DingTalk/README.md)
- [Discord](./src/Discord/README.md)
- [Gitter](./src/Gitter/README.md)
- [GoogleChat](./src/GoogleChat/README.md)
- [IGot](./src/IGot/README.md)
- [Iyuu](./src/Iyuu/README.md)
- [Lark](./src/Lark/README.md)
- [Mattermost](./src/Mattermost/README.md)
- [MicrosoftTeams](./src/MicrosoftTeams/README.md)
- [NowPush](./src/NowPush/README.md)
- [Ntfy](./src/Ntfy/README.md)
- [Push](./src/Push/README.md)
- [Pushback](./src/Pushback/README.md)
- [PushBullet](./src/PushBullet/README.md)
- [PushDeer](./src/PushDeer/README.md)
- [Pushover](./src/Pushover/README.md)
- [PushPlus](./src/PushPlus/README.md)
- [QQ](./src/QQ/README.md)
- [RocketChat](./src/RocketChat/README.md)
- [ServerChan](./src/ServerChan/README.md)
- [ShowdocPush](./src/ShowdocPush/README.md)
- [SimplePush](./src/SimplePush/README.md)
- [Slack](./src/Slack/README.md)
- [Telegram](./src/Telegram/README.md)
- [WeWork](./src/WeWork/README.md)
- [WPush](./src/WPush/README.md)
- [XiZhi](./src/XiZhi/README.md)
- [YiFengChuanHua](./src/YiFengChuanHua/README.md)
- [Zulip](./src/Zulip/README.md)

Related repository
------------------

[](#related-repository)

-
-

Requirement
-----------

[](#requirement)

- PHP &gt;= 8.2

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

[](#installation)

```
composer require ledc/notify -v
```

Usage example
-------------

[](#usage-example)

```
// 1. Create authenticator
$authenticator = new Guanguans\Notify\DingTalk\Authenticator(
    'c44fec1ddaa8a833156efb77b7865d62ae13775418030d94d05da08bfca73',
    // 'SECc32bb7345c0f73da2b9786f0f7dd5083bd768a29b82e6d460149d730eee51'
);

// 2. Create client
$client = new Guanguans\Notify\DingTalk\Client($authenticator);

// 3. Create message
$message = Guanguans\Notify\DingTalk\Messages\BtnsActionCardMessage::make([
    'title' => 'This is title(keyword).',
    'text' => 'This is text.',
    // 'btnOrientation' => 1,
    // 'btns' => [
    //     [
    //         'title' => 'This is title 1.',
    //         'actionURL' => 'https://github.com/guanguans/notify',
    //     ],
    // ],
])
    ->btnOrientation(1)
    ->addBtn([
        'title' => 'This is title 2.',
        'actionURL' => 'https://github.com/guanguans/notify',
    ]);

// 4. Send message
$response = $client
    // ->baseUri('base-uri')
    // ->connectTimeout(10)
    // ->debug(true)
    // ->proxy('http://127.0.0.1:1087')
    // ->timeout(30)
    // ->verify(false)
    // ->push(
    //     GuzzleHttp\Middleware::log(
    //         new Psr\Log\NullLogger,
    //         new GuzzleHttp\MessageFormatter(GuzzleHttp\MessageFormatter::DEBUG)
    //     ),
    //     'log'
    // )
    // ->before(
    //     'log',
    //     GuzzleHttp\Middleware::mapRequest(
    //         static fn (Psr\Http\Message\RequestInterface $request) => $request
    //     ),
    // )
    ->send($message)
    ->dump()
    // ->throw()
    ->json();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [guanguans](https://github.com/guanguans)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~0 days

Total

2

Last Release

729d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4af14254189bc74029cc40f4206f8006872b0cd092c680201f204a85a490f143?d=identicon)[ledccn](/maintainers/ledccn)

---

Top Contributors

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

---

Tags

sdkpushservernotificationnotifierslackbottelegramnotifyqqgitterdingtalkdiscordserverChanMattermostrocketchatNtfyzulippushoverpushbulletsimplepushlarkweworkBarkchanifyxiZhigoogleChatpushPluspushBackiGotPushDeerMicrosoftTeamsNowPushShowdocPushYiFengChuanHuaAnPushWPushiyuu

###  Code Quality

TestsPest

Static AnalysisPHPStan, Psalm, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

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

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)[joetannenbaum/phpushbullet

PHP API wrapper for Pushbullet.

3146.4k4](/packages/joetannenbaum-phpushbullet)

PHPackages © 2026

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