PHPackages                             minchao/every8d-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. minchao/every8d-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

minchao/every8d-php
===================

A EVERY8D SMS SDK for PHP (Unofficial)

1.1.0(3y ago)1239.9k↓24.4%61BSD-3-ClausePHPPHP &gt;=7.0

Since Jan 6Pushed 3y ago3 watchersCompare

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

READMEChangelogDependencies (6)Versions (11)Used By (1)

every8d-php
===========

[](#every8d-php)

[![Build Status](https://camo.githubusercontent.com/a6bf0ec77f6741bcaacdbbc42ccd0fa4cad93cd6ed7003a1a8fd995bd604a040/68747470733a2f2f7472617669732d63692e6f72672f6d696e6368616f2f657665727938642d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/minchao/every8d-php)[![Latest Stable Version](https://camo.githubusercontent.com/4c6eeca09e05bff233853dfcfeda1a71f9d3ffa05ed620c48d0a8a977dd448c6/68747470733a2f2f706f7365722e707567782e6f72672f6d696e6368616f2f657665727938642d7068702f762f737461626c65)](https://packagist.org/packages/minchao/every8d-php)[![Latest Unstable Version](https://camo.githubusercontent.com/0b17dcd0ed02233afe3c17c0902b4581e0081c382e89d47c3c0468447619569c/68747470733a2f2f706f7365722e707567782e6f72672f6d696e6368616f2f657665727938642d7068702f762f756e737461626c65)](https://packagist.org/packages/minchao/every8d-php)[![composer.lock](https://camo.githubusercontent.com/64ba657dbcf5e05d3ce71f9fabe694a3b1abe3dd3118a5122099ce2d0f6c8d0b/68747470733a2f2f706f7365722e707567782e6f72672f6d696e6368616f2f657665727938642d7068702f636f6d706f7365726c6f636b)](https://packagist.org/packages/minchao/every8d-php)

every8d-php 是 [EVERY8D](http://global.every8d.com.tw/) SMS HTTP API 2.1 的非官方 PHP Client SDK，使用前請先確認您已申請 EVERY8D 簡訊帳號。若您想在 Laravel 下使用，請參考 [every8d-laravel](https://github.com/minchao/every8d-laravel) 提供的 Service provider。

支援的 APIs：

- 取得帳戶餘額
    - API21/HTTP/getCredit.ashx
- SMS
    - API21/HTTP/sendSMS.ashx
    - API21/HTTP/getDeliveryStatus.ashx
    - API21/HTTP/eraseBooking.ashx
- MMS
    - API21/HTTP/MMS/sendMMS.ashx
    - API21/HTTP/MMS/getDeliveryStatus.ashx
    - API21/HTTP/MMS/eraseBooking.ashx

執行環境
----

[](#執行環境)

- PHP &gt;= 7.0
- [Guzzle requirements](http://guzzle.readthedocs.io/en/latest/overview.html#requirements)

安裝
--

[](#安裝)

推薦使用 [Composer](https://getcomposer.org/) 安裝 every8d-php SDK，請在您的專案下執行：

```
$ composer require minchao/every8d-php
```

使用
--

[](#使用)

初始化 Client，設定 EVERY8D 帳號與密碼。

```
