定制 panlogic/fonix 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

panlogic/fonix

最新稳定版本:1.0.5

Composer 安装命令:

composer require panlogic/fonix

包简介

Fonix.io PHP library helper

关键字:

README 文档

README

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": "dev-master"

..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

Copyright and Licence

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

统计信息

  • 总下载量: 98
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固