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 3w 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 41% 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

2041d 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

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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