Download the PHP package twizo/lib-api-php without Composer
On this page you can find all versions of the php package twizo/lib-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download twizo/lib-api-php
More information about twizo/lib-api-php
Files in twizo/lib-api-php
Package lib-api-php
Short Description Library to connect to Twizo to send SMS, Number Lookup or Verifications
License MIT
Homepage https://www.twizo.com/
Informations about the package lib-api-php
Twizo PHP API
Connect to the Twizo API using PHP. This API includes functions to send verifications (2FA), SMS and Number Lookup.
Requirements
- PHP >= 5.4
- Composer
Get application secret and api host
To use the Twizo API client, the following things are required:
- Create a Twizo account
- Login on the Twizo portal
- Find your application secret
- Find your nearest api node
Installation
The easiest way to start using the the Twizo API is to require it with Composer.
$ composer require twizo/lib-api-php
Getting started
Use the auto loader to load all required classes. If you're using Composer, you can skip this step and use the composer auto loader.
Initializing the Twizo Api using your api secret and api host
Create a new verification
Verify token
Send sms
Examples
In the examples directory you can find a collection of cli examples of how to use the api. When first running an example you will be asked for a host name and secret; this will be written to a config file.
License
The MIT License. Copyright (c) 2016-2017 Twizo
Support
Contact: www.twizo.com — [email protected]
All versions of lib-api-php with dependencies
ext-curl Version *
ext-json Version *
ext-openssl Version *
ext-spl Version *