shieldfy/shieldfy-php

Shieldfy Official PHP SDK - (shieldfy.io)

v0.1.2-alpha 2017-12-26 12:34 UTC

This package is not auto-updated.

Last update: 2024-04-28 02:27:17 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