1. Go to this page and download the library: Download wadify/wadify-sdk-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wadify / wadify-sdk-php example snippets
// Require the Composer autoloader.
lient.
$client = new Client([
'apiKey' => '{your-api-key}',
'clientId' => '{your-client-id}',
'clientSecret' => '{your-client-secret}'
]);
namespace Your\Namespace;
use Wadify\Token\StorageProvider\StorageProviderInterface;
use Wadify\Token\Token;
class CustomProvider implements StorageProviderInterface
{
public function get()
{
...
}
public function set(Token $token)
{
...
}
}
bash
composer
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.