shieldfy / shieldfy-php
Shieldfy Official PHP SDK - (shieldfy.io)
v0.1.2-alpha
2017-12-26 12:34 UTC
Requires
- php: ~5.5|~7.0
- ext-curl: *
- ext-mbstring: *
- ext-uopz: *
- shieldfy/normalizer: 1.*
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ~5.0||~6.0
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2024-11-10 05:45:47 UTC
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