2017 © Pedro Peláez
 

symfony-bundle twitter-bundle

A twitter sdk bundle

image

stocarul/twitter-bundle

A twitter sdk bundle

  • Thursday, August 28, 2014
  • by stocarul
  • Repository
  • 1 Watchers
  • 0 Stars
  • 268 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 4 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

TwitterBundle

Build Status SensioLabsInsight, (*1)

Installation

A) Add StocarulTwitterBundle to your composer.json

{
    "require": {
        "stocarul/twitter-bundle": "dev-master"
    }
}

B) Enable the bundle

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new JMS\SerializerBundle\JMSSerializerBundle(),
        new Stocarul\TwitterBundle\StocarulTwitterBundle(),
    );
}

C) Configure the bundle

// app/config/config.yml

stocarul_twitter:
    oauth:
        # Application key (mandatory)
        consumer_key: your_twitter_consumer_key
        consumer_secret: your_twitter_consumer_secret

Contributing

A) Fork and clone the repository

B) Instal dependencies

composer install

C) Tests configuration

Create a test app on Twitter Developers, then create Tests/Fixtures/App/config/parameters.yml from Tests/Fixtures/App/config/parameters.yml.dist and edit it to add your credentials. To check if everything works just execute the phpunit command in the root directory., (*2)

The Versions