This repository is probably for temporary. It basically collects some externally generated data for new php.ug website. This commands expected to be run periodically using cron jobs.
- PHP 7.2
- Github Token
- Twitter App Token, App Secret, User Access Token and User Access Token Secret
git clone https://github.com/mkorkmaz/data-collector.git
cd data-collector
cp config/autoload/local.php.dist config/autoload/local.php
nano config/autoload/local.php # Add your token and other secret keys
composer install
Daily, Manually if immediate action required
bin/console github:team-members <organizationName> <outputPath>
bin/console github:team-members php-ug /home/phpug/public/data/github-members.json
Once per 6 hours, Manually if immediate action required
bin/console twitter:latest-tweets <organizationName> <outputPath>
bin/console twitter:latest-tweets php_ug /home/phpug/public/data/lastest-tweets.json