Skip to content

AntoineLemaire/sqreen-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqreen-php

Usage

<?php
use Sqreen\SqreenClient;

$client = new SqreenClient(
    '1234567890123456789012', // applicationId
    'login@example.org',      // email
    'my_beautiful_password!'  // password
    );

// Get Security Response events
$events = $client->application->getSecurityResponse();

// Stop a Security Response
$securityResponseId = 'NWJlMTk2ZDdmM2Y1ZmEwMDE1MTMwMTRhOjVjM2UwZjIzMjlmMTcwMDAxZWM3NTM5MDo1YzNmNjQwNDUJyksICgnaWQnLCAnMzAzMzE3OCcpXSk6YmFjYTJiMmMxOWIwMTFlOWFlM2IwMjQyYWMxMTAwMDM';
$events = $client->application->deleteSecurityResponse($securityResponseId);

?>