PHP code example of tomasvotruba / statie-tweet-publisher

1. Go to this page and download the library: Download tomasvotruba/statie-tweet-publisher 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/ */

    

tomasvotruba / statie-tweet-publisher example snippets

yaml
    # .travis.yml
    language: php

    matrix:
        t:
        # tweets posts
        - if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" && $TWEET != "" ]]; then vendor/bin/publish-new-tweet; fi