shieldfy/shieldfy-php
Composer 安装命令:
composer require shieldfy/shieldfy-php
包简介
Shieldfy Official PHP SDK - (shieldfy.io)
README 文档
README
Description
TBD
Installation
Install Shieldfy Server Dependecies (UOPZ Extention)
Automated script (Ubuntu)
bash <(curl -Ss https://github.com/shieldfy/shieldfy-php/blob/master/bin/install)
Manual Install
See Here
Install Shieldfy Composer Package
composer require shieldfy/shieldfy-php
PHP Native
if(!class_exists(\Composer\Autoload\ClassLoader::class)) require_once(__DIR__.'/vendor/autoload.php'); \Shieldfy\Guard::init([ 'app_key' => 'YOURAPPKEY', 'app_secret' => 'YOURAPPSECRET' ]);
Laravel Extention (add laravel service provider)
in config/app.php add ShieldfyServiceProvider to the providers list
'providers' => [ \Shieldfy\Extentions\Laravel\ShieldfyServiceProvider::class ]
CodeIgniter Extention (Add CI Bridge)
if(!class_exists(\Composer\Autoload\ClassLoader::class)) require_once(__DIR__.'/vendor/autoload.php'); $guard = \Shieldfy\Guard::init([ 'app_key' => 'YOURAPPKEY', 'app_secret' => 'YOURAPPSECRET' ]); $CI =& get_instance(); \Shieldfy\Extentions\CodeIgniter\Bridge::load($$guard,$CI);
Symfony Extention ()
TBD
CakePHP
TBD
ZendPHP
TBD
Yii PHP
TBD
Configurations
TBD
Running Unit Testing
phpunit
Testing Environment
cd Example
php -S localhost:8080
Changelog
TBD
Contribution
TBD
Credits
TBD
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: SCL
- 更新时间: 2017-11-02