PHPackages                             ichen/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. ichen/notification

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

ichen/notification
==================

v5.6(5y ago)0450.0.1PHPCI failing

Since Apr 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Chouyeee/notification)[ Packagist](https://packagist.org/packages/ichen/notification)[ RSS](/packages/ichen-notification/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

notification
============

[](#notification)

line sms notification package

---

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

[](#installation)

- step1: composer require ichen/notification
- step2: php artisan vender:publish // Nexmo\\laravel\\NexmoServiceProvider &amp;&amp; Ichen\\Notification\\NotificationServiceProvider

---

Configure
---------

[](#configure)

- 於.env新增相關設定

    ```
      #mail服務設定
      MAIL_MAILER=smtp
      MAIL_HOST=smtp.gmail.com or other host
      MAIL_PORT=587
      MAIL_USERNAME=your mail account
      MAIL_PASSWORD=your mail password
      MAIL_ENCRYPTION=tls or other type
      MAIL_FROM_ADDRESS=email address
      MAIL_FROM_NAME="${APP_NAME}"

      YOUR_EMAIL_NAME=email nickname ex:Ben

      #nexmo服務認證
      NEXMO_KEY=
      NEXMO_SECRET=

      #簡訊發送位置
      NEXMO_USERNAME=

      #line bot 編號
      LINE_BEARER=

    ```

---

Usage
-----

[](#usage)

### **mail通知**

[](#mail通知)

```
mailNotification(array $mailTo, $subject, $message, array $filePath = [], array $ccTo = [])

```

#### Params

[](#params)

參數必填型態說明示例值$mailToYString傳mail''$subjectYString標題'XX資訊'$messageYString傳送訊息'這是一則訊息'$filePatharray傳送檔案位置\['C:\\myproject\\cat.png', 'C\\myproject\\dog.png'\]$ccToarray副件\['', ''\]---

### **line通知**

[](#line通知)

```
lineNotification($message)

```

#### Params

[](#params-1)

參數必填型態說明示例值$messageYString傳送訊息'這是一則訊息'---

### **sms通知**

[](#sms通知)

```
smsNotification($phoneNumber, $message)

```

#### Params

[](#params-2)

參數必填型態說明示例值$phoneNumberYString電話號碼'0988654876'$messageYString傳送訊息'這是一則訊息'

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~111 days

Total

3

Last Release

1992d ago

Major Versions

1.0.1 → v5.62020-12-01

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ichen-notification/health.svg)

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

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[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)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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