PHP code example of bernier154 / php-cyberimpact

1. Go to this page and download the library: Download bernier154/php-cyberimpact 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/ */

    

bernier154 / php-cyberimpact example snippets




use bernier154\PhpCyberimpact\CyberimpactClient;

$client = new CyberimpactClient("YOUR_CYBERIMPACT_TOKEN"); // You will need to generate an api token in your Cyberimpact account.
$groups = $client->retrieveGroups();
bash
composer