platolin/twsms-sender

The Twsms SMS sending PHP 5.3 library.

v1.4 2020-03-04 02:15 UTC

This package is auto-updated.

Last update: 2024-05-04 11:35:21 UTC


README

Twsms 簡訊發送

https://www.twsms.com/

Installation

composer require platolin/twsms-sender

The recommended way to install SmsSender is through composer.

Just create a composer.json file for your project:

{
    "require": {
        "platolin/twsms-sender": "~1.0"
    }
}

Usage

<?php

        $longsms ='N';
        $TwsmsSender = new TwSmsSender('username','password');
        $result = $TwsmsSender->send('0975000000', 'test sms message', '201612312359' ,$longsms);