PHPackages                             natsumework/laravel-notification-mitake - 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. natsumework/laravel-notification-mitake

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

natsumework/laravel-notification-mitake
=======================================

:package\_description

1.2.0(1y ago)03452MITPHPPHP &gt;=7.1CI failing

Since Apr 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/natsumework/laravel-notification-mitake)[ Packagist](https://packagist.org/packages/natsumework/laravel-notification-mitake)[ Docs](https://github.com/natsumework/laravel-notification-mitake)[ RSS](/packages/natsumework-laravel-notification-mitake/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Mitake(三竹簡訊) notifications channel for Laravel
==============================================

[](#mitake三竹簡訊-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f0e0343249e5d56a30a8d97c555b4a72831f89e1317000d9bb41a57a86584b3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e617473756d65776f726b2f6c61726176656c2d6e6f74696669636174696f6e2d6d6974616b652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/natsumework/laravel-notification-mitake)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/a5051a5d9de31c4a3dc2519af75c1ef7a13d7894f94fcdac97d22a256f1d6ef5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e617473756d65776f726b2f6c61726176656c2d6e6f74696669636174696f6e2d6d6974616b652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/natsumework/laravel-notification-mitake)

This package(non-official) makes it easy to send notifications using [Mitake](https://sms.mitake.com.tw/common/index.jsp) with Laravel 5.5+ and 6.x and 7.x

Here's the latest documentation on Laravel's Notifications System:

Contents
--------

[](#contents)

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

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

[](#installation)

```
composer require natsumework/laravel-notification-mitake

```

### Setting up the Mitake service

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

Add your Mitake Account, Password, and Api endpoint url (optional) to your `config/services.php`:

```
// config/services.php
...
'mitake' => [
    'username' => env('MITAKE_USERNAME'), // reqired
    'password' => env('MITAKE_PASSWORD'), // reqired
    'url' => env('MITAKE_URL'), // optional (has default value): e.g. 'https://{三竹網域名稱}/api/mtk/SmSend
],
...

```

Usage
-----

[](#usage)

Now you can use the channel in your via() method inside the notification:

```
use NotificationChannels\Mitake\MitakeChannel;
use NotificationChannels\Mitake\MitakeMessage;
use Illuminate\Notifications\Notification;

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

    public function toMitake($notifiable)
    {
        return (new MitakeMessage())
            ->content("Your message...");
    }
}

```

You can also set 'dstaddr' or 'vldtime' or 'clientid' option (about the options please refer to the mitake api docs):

```
class SmsNotification extends Notification
{
    ...
    public function toMitake($notifiable)
    {
           return (new MitakeMessage())
                ->content("Your message...")
                ->to("0900000000") // dstaddr: phone number
                ->vldTime("900")  // Validity period: 900 second
                ->clientId("ce910656-7bd1-11ea-bc55-0242ac130003"); //Check duplicate sending
    }
    ...

```

#### Phone number

[](#phone-number)

In order to let your Notification know which phone are you sending to, you need to set the phone number in `MitakeMessage`

```
class SmsNotification extends Notification
{
    ...
    public function toMitake($notifiable)
    {
           return (new MitakeMessage())
                ->to("0900000000") // dstaddr: phone number
                ...
    }
    ...

```

You can also add the routeNotificationForMitake method to your Notifiable model.

```
public function routeNotificationForMitake()
{
    return '0900000000';
}

```

or you can use the [on-demand-notifications](https://laravel.com/docs/master/notifications#on-demand-notifications)

```
Notification::route('mitake', '0900000000')
           ->notify(new SmsNotification($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)

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

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

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

Total

4

Last Release

727d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23622184?v=4)[natsumework](/maintainers/natsumework)[@natsumework](https://github.com/natsumework)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/natsumework-laravel-notification-mitake/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

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

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/aws-sns

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

541.1M2](/packages/laravel-notification-channels-aws-sns)

PHPackages © 2026

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