PHP code example of kistn / wp-client
1. Go to this page and download the library: Download kistn/wp-client 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/ */
kistn / wp-client example snippets
define( 'KISTN_BASE_URL', 'https://your-server.example.com' );
define( 'KISTN_PROJECT_ID', 'your-project-uuid' );
define( 'KISTN_TOKEN', 'your-api-token' );
define( 'KISTN_WPSCAN_TOKEN', 'your-wpscan-api-token' ); // optional