Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 808 Bytes

File metadata and controls

22 lines (18 loc) · 808 Bytes

Sample task for pilulka.cz

Author: Pavel Balajka

Configuration

The configuration is stored in file config.php where you have to set the Twitter API credentials in order to successfully connect and use the Twitter API There is an option in the configuration file DISPLAY_OUTPUT which specifies the output format - either simple json or rendered in latte

Run the script

To run the script, first you have to install composer dependencies

composer install

Then you can run the script either by putting it on the server and navigating to index.php or in the console with simple command

php index.php

Used libraries

The task uses following 3rd party libraries