PSR-2 PHP_CodeSniffer Config

# phpcs.xml, this file must be under project root folder.


Travis CI for PHPUnit and PHP_CodeSniffer

# .travis.yml, this file must be under project root folder.


PHPUnit Boilerplate

Of course firstĀ  phpunit/phpunit to be installed. I think, local installation much better.

# phpunit.xml

# ExampleTest.php, this fileĀ must be under tests folder. (root/tests/ExampleTest.php)

# Run on Command prompt.

# Example Output


Social Poster – A Simple Facebook Page and Twitter poster

Social (Media) Poster Social Poster is a simple Facebook Page and Twitt poster Text Posting Text with Image-\s Posting Tech Social Poster uses a number of open source projects to work properly: facebook/graph-sdk – Facebook SDK for PHP (v5) dg/twitter-php – Twitter for PHP is a very small and easy-to-use library for sending messages to […]