2017 © Pedro Peláez
 

package quickscan-php-client

Guardian360 Quickscan API client class

image

guardian360/quickscan-php-client

Guardian360 Quickscan API client class

  • Monday, October 3, 2016
  • by G360-Sjors
  • Repository
  • 1 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Guardian360 Quickscan PHP client

Quickscan API client written in PHP., (*1)

Installation

Install the API client through Composer with the following command:, (*2)

composer require guardian360/quickscan-php-client

The API client has a couple of requirements:, (*3)

  • >= PHP 5.5
  • PHP cURL extension
  • GuzzleHttp library (automatically installed along with the Quickscan client)

Usage


<?php require 'vendor/autoload.php'; // Initialize a new API client $client = new Guardian360\Quickscan\Api\Client; // URL to scan $url = 'http://example.com'; // Example contact. These four fields are mandatory $contact = [ 'company' => 'Acme', 'firstname' => 'John', 'surname' => 'Doe', 'email' => 'johndoe@example.com', ]; // Login so we receive a JWT token. Password will be encoded $client->login('johndoe@example.com', 'test'); // Always call the scan method before sending a report! $scanResults = $client->scan($url); // Send a report to the contact $response = $client->sendReport($url, $contact);

The Versions

03/10 2016

dev-master

9999999-dev

Guardian360 Quickscan API client class

  Sources   Download

MIT

The Requires

 

by Sjors van Dongen

03/10 2016

1.1

1.1.0.0

Guardian360 Quickscan API client class

  Sources   Download

MIT

The Requires

 

by Sjors van Dongen

03/10 2016

1.0

1.0.0.0

Guardian360 Quickscan API client class

  Sources   Download

MIT

The Requires

 

by Sjors van Dongen

03/10 2016

dev-develop

dev-develop

Guardian360 Quickscan API client class

  Sources   Download

proprietary

The Requires

 

by Sjors van Dongen