PHPackages                             taiwan-sms/every8d - 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. taiwan-sms/every8d

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

taiwan-sms/every8d
==================

every8d sms api client

v1.1.5(3y ago)1817.8k↓35.3%2MITPHPPHP &gt;=5.5.9

Since Dec 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/taiwan-sms/every8d)[ Packagist](https://packagist.org/packages/taiwan-sms/every8d)[ RSS](/packages/taiwan-sms-every8d/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (13)Versions (4)Used By (0)

Every8d notifications channel for Laravel 5.3+
==============================================

[](#every8d-notifications-channel-for-laravel-53)

[![StyleCI](https://camo.githubusercontent.com/5be627845c5804479e75aec786ce1944d8e6df82e870b608a9a6d8fb2e81d3fd/68747470733a2f2f7374796c6563692e696f2f7265706f732f38333736303332372f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/83760327)[![Build Status](https://camo.githubusercontent.com/a081036fafc442bb8c719c4c366e35047358805d09552a3ee5fa5ad63adb5922/68747470733a2f2f7472617669732d63692e6f72672f74616977616e2d736d732f657665727938642e737667)](https://travis-ci.org/taiwan-sms/every8d)[![Total Downloads](https://camo.githubusercontent.com/ed5dd9169e7491b45416e06ff0396584813280cbc57033fa95b3d92df1a51a45/68747470733a2f2f706f7365722e707567782e6f72672f74616977616e2d736d732f657665727938642f642f746f74616c2e737667)](https://packagist.org/packages/taiwan-sms/every8d)[![Latest Stable Version](https://camo.githubusercontent.com/786c757ed71a588a42062aa43de61d8355ee6a03b0ac9ae9b6288257636a3df4/68747470733a2f2f706f7365722e707567782e6f72672f74616977616e2d736d732f657665727938642f762f737461626c652e737667)](https://packagist.org/packages/taiwan-sms/every8d)[![Latest Unstable Version](https://camo.githubusercontent.com/f98aed87ac5765c71f7b48709cf00a5dfe12cd585756e783904aac46ef7c9da9/68747470733a2f2f706f7365722e707567782e6f72672f74616977616e2d736d732f657665727938642f762f756e737461626c652e737667)](https://packagist.org/packages/taiwan-sms/every8d)[![License](https://camo.githubusercontent.com/e45d1c80fae4c7db0f93dc60bacd11f256ef6e4a594740b4a2d03cd0ec896c27/68747470733a2f2f706f7365722e707567782e6f72672f74616977616e2d736d732f657665727938642f6c6963656e73652e737667)](https://packagist.org/packages/taiwan-sms/every8d)[![Monthly Downloads](https://camo.githubusercontent.com/18957928b55120015eca291e4f6d69b76983cbc96031ba9c78f979770f88ed95/68747470733a2f2f706f7365722e707567782e6f72672f74616977616e2d736d732f657665727938642f642f6d6f6e74686c79)](https://packagist.org/packages/taiwan-sms/every8d)[![Daily Downloads](https://camo.githubusercontent.com/a170ba156efcf0dcf3ee0b7f77140e8e7efbfe106b1a1e20680e4f9caee8b402/68747470733a2f2f706f7365722e707567782e6f72672f74616977616e2d736d732f657665727938642f642f6461696c79)](https://packagist.org/packages/taiwan-sms/every8d)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fe2767bf3acca9b192745772ca82d55d6d664ffa928b5cec9e4e1c914e2c2317/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74616977616e2d736d732f657665727938642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/taiwan-sms/every8d/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/2f9520011315f3e37ca0073ea00aafc5fa4fcf04cc3b173d43ab28bac9f01f9a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74616977616e2d736d732f657665727938642f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/taiwan-sms/every8d/?branch=master)

This package makes it easy to send notifications using \[every8d\] with Laravel 5.3+.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Every8d service](#setting-up-the-Every8d-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require taiwan-sms/every8d illuminate/notifications php-http/guzzle6-adapter
```

Then you must install the service provider:

```
// config/app.php
'providers' => [
    ...
    TaiwanSms\Every8d\Every8dServiceProvider::class,
],
```

### Setting up the Every8d service

[](#setting-up-the-every8d-service)

Add your Every8d login, secret key (hashed password) and default sender name (or phone number) to your `config/services.php`:

```
// config/services.php
...
'every8d' => [
    'user_id'  => env('SERVICES_EVERY8D_USER_ID'),
    'password' => env('SERVICES_EVERY8D_PASSWORD'),
    'sms_host' => env('SERVICES_EVERY8D_SMS_HOST')
],
...
```

Usage
-----

[](#usage)

You can use the channel in your `via()` method inside the notification:

```
use TaiwanSms\Every8d\Every8dMessage;
use TaiwanSms\Every8d\Every8dChannel;
use Illuminate\Notifications\Notification;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return [Every8dChannel::class];
    }

    public function toEvery8d($notifiable)
    {
        return Every8dMessage::create("Task #{$notifiable->id} is complete!");
    }
}
```

In your notifiable model, make sure to include a routeNotificationForEvery8d() method, which return the phone number.

```
public function routeNotificationForEvery8d()
{
    return $this->phone;
}
```

### Available methods

[](#available-methods)

`subject()`: Sets a subject of the notification subject.

`content()`: Sets a content of the notification message.

`sendTime()`: Set send time of the notification message.

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

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

[](#contributing)

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

Credits
-------

[](#credits)

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

License
-------

[](#license)

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

API Only
========

[](#api-only)

```
composer require taiwan-sms/every8d php-http/guzzle6-adapter
```

How to use
----------

[](#how-to-use)

```
require __DIR__.'/vendor/autoload.php';

use TaiwanSms\Every8d\Client;

$userId = 'xxx';
$password = 'xxx';

$client = new Client(userId, $password);

$client->credit(); // 取得額度
var_dump($client->send([
    'to' => '09xxxxxxxx',
    'text' => 'test message',
]));
/*
return [
    'credit' => 100.0,
    'sended' => 1,
    'cost' => 1.0,
    'unsend' => 0,
    'batchId' => 'd0ad6380-4842-46a5-a1eb-9888e78fefd8',
];
 */
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

Total

3

Last Release

1260d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1390554?v=4)[Recca Tsai](/maintainers/recca0120)[@recca0120](https://github.com/recca0120)

---

Top Contributors

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

---

Tags

every8dlaravelnotificationlaravelnotificationsmsTaiwanevery8d

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/taiwan-sms-every8d/health.svg)

```
[![Health](https://phpackages.com/badges/taiwan-sms-every8d/health.svg)](https://phpackages.com/packages/taiwan-sms-every8d)
```

###  Alternatives

[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

194.8k](/packages/ghanem-laravel-smsmisr)

PHPackages © 2026

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