PHP code example of twisterarmy / twister

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

    

twisterarmy / twister example snippets


$client = new \Twisterarmy\Twister\Client('http', 'localhost', 28332, 'user', 'pwd');

var_dump(
    $client->getPosts(
      [
        'twisterarmy'
      ]
    )
);

$array = \Twisterarmy\Twister\Tools\Rss::feed('url');