pivotsecurity/pcs-php

Pivot Security PHP API Client Library

1.0.6 2019-05-16 08:22 UTC

This package is auto-updated.

Last update: 2024-05-16 20:37:30 UTC


README

PHP API interface for Pivot Security

Read full docs: https://github.com/Pivotsecurity/pivotsecurity-php/tree/master/doc

Installation

Prerequisites

  • PHP 5.X, 7.X

Install Package

Using Composer:

composer require pivotsecurity/pcs-php

require('vendor/autoload.php')

use \PivotSecurity\Account;

use \PivotSecurity\Customer;

$ac = new Account(null,'d48f21a6e0c94880b61daa2b9e5a2327');

$response = $ac->info('A13');

echo var_dump($response);

Manual:

git clone https://github.com/Pivotsecurity/pivotsecurity-php.git

cd pivotsecurity-php

require('init.php')

use \PivotSecurity\Account;

use \PivotSecurity\Customer;

$ac = new Account(null,'d48f21a6e0c94880b61daa2b9e5a2327');

$response = $ac->info('A13');

echo var_dump($response);