PHP code example of heidilabs / markov-bot

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

    

heidilabs / markov-bot example snippets

bash
    $ php console.php twitter:test
bash
    $ php console.php markov:test
bash
    $ php console.php markov:tweet
bash
    $ php console.php cache:update
bash
    $ php console.php twitter:test --config=other.yml
    $ php console.php twitter:tweet --config=other.yml