PHP code example of cyvax / privatebin_php

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

    

cyvax / privatebin_php example snippets


use Cyvax\PrivatebinPHP;

$private =new PrivatebinPHP(array(
    "url" => "https://privatebin.net/",
    "text" => "Because ignorance is bliss!",
));
$posted = $private->encode_and_post();