TBD
bash <(curl -Ss https://github.com/shieldfy/shieldfy-php/blob/master/bin/install)
See Here
composer require shieldfy/shieldfy-php
if(!class_exists(\Composer\Autoload\ClassLoader::class)) require_once(__DIR__.'/vendor/autoload.php');
\Shieldfy\Guard::init([
'app_key' => 'YOURAPPKEY',
'app_secret' => 'YOURAPPSECRET'
]);
in config/app.php
add ShieldfyServiceProvider
to the providers
list
'providers' => [
\Shieldfy\Extentions\Laravel\ShieldfyServiceProvider::class
]
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);
TBD
TBD
TBD
TBD
TBD
phpunit
cd Example
php -S localhost:8080
TBD
TBD
TBD