Download the PHP package michalkortas/sms-gate-api without Composer
On this page you can find all versions of the php package michalkortas/sms-gate-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download michalkortas/sms-gate-api
More information about michalkortas/sms-gate-api
Files in michalkortas/sms-gate-api
Package sms-gate-api
Short Description API For huawei LAN/WAN LTE Modems written in PHP
License LGPL-3.0-only
Informations about the package sms-gate-api
huawei-lte-api-php
API for Huawei LAN/WAN LTE Modems rewritten from original Python library into PHP you can use this to simply send SMS, get information about your internet usage, signal, and tons of other stuff
Tested on:
3G/LTE Routers:
- Huawei B310s-22
- Huawei B315s-22
- Huawei B525s-23a
- Huawei B525s-65a
- Huawei B715s-23c
- Huawei B528s
- Huawei B535-232
- Huawei B628-265
- Huawei B818-263
- Huawei E5186s-22a
- Huawei E5576-320
- Huawei E5577Cs-321
3G/LTE USB sticks:
(Device must support NETWork mode aka. "HiLink" version, it wont work with serial mode)
- Huawei E3131
- Huawei E3372
- Huawei E3531
5G Routers:
- Huawei 5G CPE Pro 2 (H122-373)
(probably will work for other Huawei LTE devices too)
Will NOT work on:
LTE Routers:
- Huawei B2368-22 (Incompatible firmware, testing device needed!)
- Huawei B593s-22 (Incompatible firmware, testing device needed!)
Installation
composer
Usage
Send SMS
Get SMS list
Use with Docker (BETA)
NOTICE: It is in development. Simple calls have been resolved for now. Complex parameters such as DateTime, Enum are not resolved.
The entry point for the docker is the docker/api.php
file. The first parameter is the name of the class. The second parameter is the method name of the class. Everything else is a parameter of the method.
Examples:
- Endpoints\Device informations
- Config\Device config
- Endpoints\Sms sendSms 'a[]=+420123456788' "Hello World!"
- Endpoints\Sms sendSms 'a[]=+420123456788&a[]=+420123456789' "Hello World! Multi phone number."
Develop
All versions of sms-gate-api with dependencies
ext-json Version *
ext-mbstring Version *
ext-xml Version *
guzzlehttp/guzzle Version ^7.3