PHP code example of mmxca / bitmessage-plugin

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

    

mmxca / bitmessage-plugin example snippets


        $this->Bitmessage->initialize();
        $this->Bitmessage->setStrip(true);
        
        //to, from, subject, message
        $this->Bitmessage->sendMessage(*TO_ADDRESS*, 
                *FROM_ADDRESS*,
                "Test Subject", 
                "Test Message Body"
            );