stocarul / twitter-bundle
A twitter sdk bundle
Installs: 273
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 4
Type:symfony-bundle
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ~4.0
- guzzlehttp/oauth-subscriber: 0.1.x
- jms/serializer-bundle: 0.13.*
- sensio/framework-extra-bundle: ~3.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
- symfony/finder: ~2.2
- symfony/framework-bundle: ~2.2
- symfony/security-bundle: ~2.2
- symfony/twig-bundle: ~2.2
This package is not auto-updated.
Last update: 2025-04-22 05:48:42 UTC
README
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.