New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

matt127127/fonix

Fonix.io PHP library helper
1,936
Install
composer require matt127127/fonix
Latest Version:1.0.9
PHP:>=5.4.0
Laravel:4 · 5
License:MIT
Last Updated:Feb 6, 2018
Links: GitHub  ·  Packagist
Maintainer: matthewtreagus

Fonix

Fonix is a PHP library class to make using the Fonix API easy

Latest Stable Version Total Downloads Latest Unstable Version License

Composer

To install Fonix as a Composer package, simply add this to your composer.json:

"panlogic/fonix": "1.0.5"

..and run composer update. Once it's installed, if you're using Laravel 5, you can register the service provider in app/config/app.php in the providers array add :

'Panlogic\Fonix\FonixServiceProvider',

You can also benefit from using a Fonix Facade in Laravel 5 by adding to the alias array also in app.php below the providers array

'Fonix'    => 'Panlogic\Fonix\Facades\FonixFacade',

Documentation

If you're using Laravel, publish the config file by running

php artisan vendor:publish

This will create a panlogic.fonix.php file in your Config directory, be sure to fill in the appropriate details provided by Fonix in your env file.

FONIX_API_KEY_LIVE= FONIX_API_KEY_TEST= FONIX_PLATFORM= FONIX_ORIGINATOR=

If you aren't using Laravel then you can create a Fonix object by:

use Panlogic\Fonix\Fonix;

$config = [
	'live_apikey' 		=> 'your-live-api-key-here',
	'test_apikey' 		=> 'your-test-api-key-here',
	'platform' 			=> 'test',
	'originator' 		=> '123456', //short code
];

$fonix = new Fonix($config);

For more information about how to use the Fonix class, read the Wiki

Fonix has been written by Panlogic Ltd and is released under the MIT License.

Related Packages

ohanspace/sms

this is a sms package made for laravel

11 0
sms
midnite81/laravel-base

Base Functionality for Laravel

35,582 3
lbhurtado/sms

Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky

9,485 0
huangdijia/laravel-sms

sms for laravel

7,402 2
alhaji-aki/laravel-sms

A package that allows developers integrate sms providers and provide a common ap...

5,952 2

Version History

Version Released PHP Laravel License
1.0.9 >=5.4.0 4.*|5.0.*|5.* MIT
1.0.8 >=5.4.0 4.*|5.0.*|5.* MIT
1.0.7 >=5.4.0 4.*|5.0.*|5.* MIT
1.0.5 >=5.4.0 4.*|5.0.*|5.* MIT
1.0.4 >=5.4.0 4.*|5.0.*|5.1.* MIT