2017 © Pedro Peláez
 

symfony-bundle async-tweets-bundle

Symfony bundle providing a Twitter reader for asynchronous reading

image

alexislefebvre/async-tweets-bundle

Symfony bundle providing a Twitter reader for asynchronous reading

  • Sunday, July 8, 2018
  • by alexislefebvre
  • Repository
  • 1 Watchers
  • 4 Stars
  • 140 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 40 Versions
  • 1 % Grown

The README.md

AsyncTweetsBundle

A Symfony bundle providing a Twitter reader for asynchronous reading, (*1)

Packagist Latest Stable Version Latest Unstable Version, (*2)

Builds: GA status ![Build status][Travis Master image] ![AppVeyor][AppVeyor image] ![Circle CI][Circle CI image], (*3)

Code analysis: ![Scrutinizer Code Quality][Scrutinizer image] ![Scrutinizer][Scrutinizer Coverage Image] [Coveralls][Coveralls] Code Climate Codacy StyleCI SymfonyInsight, (*4)

  • Demo: https://asynctweets.alexislefebvre.com/demo/
  • Code coverage: https://asynctweets.alexislefebvre.com/codecoverage/
  • Doxygen: https://asynctweets.alexislefebvre.com/doxygen/
  • ApiGen: https://asynctweets.alexislefebvre.com/apigen/

Goal

The goal of this project is to create an online Twitter reader, built with Symfony. AsyncTweets retrieves and stores your timeline, allowing to read your Twitter timeline even if you're away from your Twitter client for several days., (*5)

This bundle is also used to test several CI (Continuous Integration) services., (*6)

Features

  • Retrieve tweets by using User's Twitter keys
  • Display the tweets with a pagination
  • Display images below tweets

Installation

Requirements:

Steps:

  1. Install this bundle with Composer: composer require alexislefebvre/async-tweets-bundle
  2. Add the bundle in app/AppKernel.php:, (*7)

    <?php
    
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new AlexisLefebvre\Bundle\AsyncTweetsBundle\AsyncTweetsBundle(),
        );
    }
  3. Enter your Twitter keys at the end of the app/config/parameters.yml file:, (*8)

    twitter_consumer_key: null
    twitter_consumer_secret: null
    twitter_token: null
    twitter_token_secret: null
  4. Create the database and create the tables: php app/console doctrine:schema:update --force --env=prod, (*9)

Usage:

  1. Launch this command to fetch tweets: php app/console statuses:hometimeline --table --env=prod, with the --table option the imported tweets will be shown
  2. Import the routes in your app/config/routing.yml:, (*10)

    asynctweets_website:
        resource: "@AsyncTweetsBundle/Resources/config/routing.yml"
        prefix:   /asynctweets # Use only "/" if you want AsyncTweets at the root of the website
  3. Open the page with your browser .../YOUR_DIRECTORY/web/asynctweets/ or use the following command php app/console statuses:read --env=prod to see tweets, (*11)

  4. Add php app/console statuses:hometimeline --env=prod in your crontab (e.g. every hour) to retrieve tweets automatically

Dependencies

Tests:

make tests

Quality Assurance:

make qa

The Versions

22/03 2016

dev-tests-travis-cache-vendors-no-gz

dev-tests-travis-cache-vendors-no-gz http://asynctweets.alexislefebvre.com/

Symfony2 bundle providing a Twitter reader for asynchronous reading

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony2 bundle twitter reader

27/02 2016

dev-tests-travis-cache-vendors

dev-tests-travis-cache-vendors http://asynctweets.alexislefebvre.com/

Symfony2 bundle providing a Twitter reader for asynchronous reading

  Sources   Download

MIT

The Requires

 

The Development Requires

symfony2 bundle twitter reader

02/04 2015
01/04 2015

0.1.1

0.1.1.0 http://asynctweets.alexislefebvre.com/

PHP Twitter reader for asynchronous reading

  Sources   Download

MIT

The Requires

 

bundle twitter reader