Download the PHP package bahricanli/corvass-php without Composer
On this page you can find all versions of the php package bahricanli/corvass-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bahricanli/corvass-php
More information about bahricanli/corvass-php
Files in bahricanli/corvass-php
Package corvass-php
Short Description A PHP client library for Corvass API
License MIT
Homepage https://github.com/bahricanli/corvass
Informations about the package corvass-php
PHP Corvass Client
This package provides an easy to use Corvass service which can be used with both XML and Http apis.
Bu paket, hem XML hem Http API ile çalışan kullanımı kolay bir Corvass servisi sağlar.
Dokümanın türkçe hali için: BENIOKU
Contents
- Installation
- Setting up the Corvass service
- Usage
- Available methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install this package via composer:
Setting up the Corvass service
You will need to register to Corvass to use this channel.
Usage
First, boot the CorvassService with your desired client implementation.
- CorvassXmlClient
- CorvassHttpClient (This is actually a Rest-Like client but the vendor names their API that way.)
Available methods
After successfully booting your CorvassService instance up; use one of the following methods to send SMS message(s).
One Message - Single or Multiple Recipients:
Multiple Messages - Multiple Recipients:
Please not that if you have using that method, every message should only have one receiver. (This is also an API limitation which I didn't hack.)
Cross Reference
$response->groupId()
will throw BadMethodCallException if the client is CorvassHttpClient
.
$response->messageReportIdentifiers()
will throw BadMethodCallException if the client is CorvassXmlClient
.
change client implementation with caution.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.