ifbyphone / api-client
Ifbyphone API Client
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
pkg:composer/ifbyphone/api-client
This package is not auto-updated.
Last update: 2025-09-23 08:59:34 UTC
README
This client provides developers with a framework they can use to quickly take advantage of Ifbyphone's API.
Installation
Installation is conveniently provided via [Composer][2].
To get started, install composer in your project:
$ curl -s https://getcomposer.org/installer | php
Next, add a composer.json file containing the following:
} "require": { "ifbyphone/api-client": "dev-master" } }
Finall, install!
$ php composer.phar install
Usage
Using the Ifbyphone API client is easy:
<?php use Ifbyphone\Client; $client = new Client('YOUR API KEY'); $client->api('sms')->(array( 'to' => 1112223333, 'from => '4445556666, 'message' => 'Test message!' ));
Method changing is also supported:
<?php use Ifbyphone\Client; $client = new Client('YOUR API KEY'); $client->api('sms')->to(1112223333) ->from(4445556666) ->message('Test message!');