Download the PHP package phpcodex/smsw-php-sdk without Composer
On this page you can find all versions of the php package phpcodex/smsw-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package smsw-php-sdk
SwaggerClient-php
The SMS Works provides a low-cost, reliable SMS API for developers. Pay only for delivered texts, all failed messages are refunded.
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Build package: io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual Installation
Download the files and include autoload.php
:
Tests
To run the unit tests:
Getting Started
Please follow the installation procedure and then run the following:
Test calls in Postman
Documentation for API Endpoints
All URIs are relative to https://api.thesmsworks.co.uk/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AuthApi | keySecret | GET /auth/getApiKey | |
AuthApi | login | POST /auth/token | |
BatchMessagesApi | cancelScheduledBatchJob | DELETE /batches/schedule/{batchid} | |
BatchMessagesApi | getBatchById | GET /batch/{batchid} | |
BatchMessagesApi | scheduleBatch | POST /batch/schedule | |
BatchMessagesApi | sendBatch | POST /batch/send | |
MessagesApi | cancelScheduledJob | DELETE /messages/schedule/{messageid} | |
MessagesApi | getInboxMessages | POST /messages/inbox | |
MessagesApi | getMessageById | GET /messages/{messageid} | |
MessagesApi | getMessages | POST /messages | |
MessagesApi | scheduleMessage | POST /message/schedule | |
MessagesApi | sendMessage | POST /message/send | |
UtilsApi | test | GET /utils/test |
Documentation For Models
- ApiKeyResponse
- BatchMessage
- BatchMessageResponse
- CancelledMessageResponse
- ErrorModel
- Login
- Message
- MessageMetadata
- MessageResponse
- MessageResponseFailurereason
- MessagesResponse
- MessagesResponseMessages
- MetaData
- Query
- QueryMetadata
- ScheduledBatchResponse
- ScheduledMessageResponse
- SendMessageResponse
- TestResponse
- TokenResponse
- ExtendedErrorModel
Documentation For Authorization
JWT
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Author
All versions of smsw-php-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
The package phpcodex/smsw-php-sdk contains the following files
Loading the files please wait ....