Download the PHP package kanagama/laravel-zettai-reach-sms-client without Composer
On this page you can find all versions of the php package kanagama/laravel-zettai-reach-sms-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kanagama/laravel-zettai-reach-sms-client
More information about kanagama/laravel-zettai-reach-sms-client
Files in kanagama/laravel-zettai-reach-sms-client
Package laravel-zettai-reach-sms-client
Short Description 絶対リーチSMS API for Laravel
License MIT
Informations about the package laravel-zettai-reach-sms-client
laravel-zettai-reach-sms-client
絶対リーチSMS API の Laravel クライアントライブラリです。
Laravel client library for Zettai Reach SMS API.
目次 / Table of Contents
- インストール / Installation
- 設定 / Configuration
- 使用方法 / Usage
- CommonMT 送信 / Send SMS
- CommonMT 予約送信確認 / Check Scheduled SMS
- CommonMT 予約送信キャンセル / Cancel Scheduled SMS
- CommonMT 予約送信一括キャンセル / Cancel All Scheduled SMS
- CommonMT ステータス取得 / Get Status
- ショート URL 登録 / Register Short URL
- 登録済み定型文取得 / Get Templates
- 電話番号クリーニング / Phone Number Cleaning
- 通数集計 / Count Statistics
インストール / Installation
Composer を使用してインストールします。
Install using Composer.
設定 / Configuration
config ファイルの公開 / Publish Configuration File
以下のコマンドで設定ファイルを公開します。
Publish the configuration file with the following command.
これにより、config/zettai-reach-sms.php ファイルが作成されます。
This will create the config/zettai-reach-sms.php file.
環境変数の設定 / Environment Variables Configuration
.env ファイルに以下の環境変数を追加してください。
Add the following environment variables to your .env file.
ZETTAI_REACH_SMS_TOKEN: アカウント登録時に発行されるアクセスキー(32文字の半角英数字)/ Access key issued during account registration (32 alphanumeric characters)ZETTAI_REACH_SMS_CLIENT_ID: 契約クライアントID(半角数字)/ Contract client ID (numeric)ZETTAI_REACH_SMS_TIMEOUT_SECONDS: タイムアウト時間(秒、デフォルト: 10)/ Timeout duration (seconds, default: 10)ZETTAI_REACH_SMS_CODE: 契約クライアントSMSコード / Contract client SMS CodeZETTAI_REACH_SMS_DRIVER: 送信ドライバの選択 ('api' or 'fake' or 'log') / Select Sending Driver ('api' or 'fake' or 'log')- fake: API送信を行わない / Do Not Send API Requests
- log: API送信を行わない。ログを出力する / Do Not Send API Requests. Export Logs.
- api: API送信を行う / Send API Requests
config ファイルの内容 / Configuration File Content
config/zettai-reach-sms.php の内容は以下の通りです。
The content of config/zettai-reach-sms.php is as follows.
使用方法 / Usage
このライブラリは、静的呼び出しと動的呼び出しの両方をサポートしています。
This library supports both static and dynamic invocation.
CommonMT 送信 / Send SMS
SMS を送信します。予約送信も可能です。
Send SMS messages. Scheduled sending is also supported.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
CommonMT 予約送信確認 / Check Scheduled SMS
予約送信の状態を確認します。
Check the status of scheduled SMS.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
CommonMT 予約送信キャンセル / Cancel Scheduled SMS
予約送信をキャンセルします。
Cancel scheduled SMS.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
CommonMT 予約送信一括キャンセル / Cancel All Scheduled SMS
指定した日付の予約送信をすべてキャンセルします。
Cancel all scheduled SMS for the specified date.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
CommonMT ステータス取得 / Get Status
送信した SMS のステータスを取得します。
Get the status of sent SMS.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
ショート URL 登録 / Register Short URL
長い URL をショート URL に変換します。
Convert long URLs to short URLs.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
登録済み定型文取得 / Get Templates
アカウントに登録されている定型文の一覧を取得します。
Get a list of templates registered to the account.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
電話番号クリーニング / Phone Number Cleaning
電話番号の妥当性を検証し、キャリア情報を取得します。
Validate phone numbers and retrieve carrier information.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
通数集計 / Count Statistics
指定期間内の送信成功件数を集計します。
Aggregate the number of successful sends within the specified period.
静的呼び出し / Static Method
動的呼び出し / Dynamic Method
レスポンス例 / Response Example
ライセンス / License
このプロジェクトは MIT ライセンスの下で公開されています。詳細は LICENSE ファイルをご覧ください。
This project is published under the MIT License. See the LICENSE file for details.