PHPackages                             stocarul/twitter-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. stocarul/twitter-bundle

ActiveSymfony-bundle[API Development](/categories/api)

stocarul/twitter-bundle
=======================

A twitter sdk bundle

02731[4 issues](https://github.com/stocarul/TwitterBundle/issues)PHP

Since Aug 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/stocarul/TwitterBundle)[ Packagist](https://packagist.org/packages/stocarul/twitter-bundle)[ RSS](/packages/stocarul-twitter-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

TwitterBundle
=============

[](#twitterbundle)

[![Build Status](https://camo.githubusercontent.com/09b888715a36646fbd31eea7b22179fa6c8f2b5341ad9fb25bc60860616f3866/68747470733a2f2f6170692e736869707061626c652e636f6d2f70726f6a656374732f3533653331623133623430353137353830303832313430312f62616467652f6d6173746572)](https://www.shippable.com/projects/53e31b13b405175800821401/builds/16)[![SensioLabsInsight](https://camo.githubusercontent.com/1025d65ce3e39b1c712db4c1aa8e12b7f6241434119d150ac21b5604b3cbdda9/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39393566616135642d303237642d343039632d613131662d3539356532383562616131322f6d696e692e706e67)](https://insight.sensiolabs.com/projects/995faa5d-027d-409c-a11f-595e285baa12)

Installation
------------

[](#installation)

#### A) Add StocarulTwitterBundle to your composer.json

[](#a-add-stocarultwitterbundle-to-your-composerjson)

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

#### B) Enable the bundle

[](#b-enable-the-bundle)

```
// app/AppKernel.php

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

#### C) Configure the bundle

[](#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
------------

[](#contributing)

#### A) Fork and clone the repository

[](#a-fork-and-clone-the-repository)

#### B) Instal dependencies

[](#b-instal-dependencies)

```
composer install
```

#### C) Tests configuration

[](#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.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c1aff55d54ffc994186d48dbd81ba6329678deb967d8e78892b0dbf4c81126f?d=identicon)[stocarul](/maintainers/stocarul)

---

Top Contributors

[![stocarul](https://avatars.githubusercontent.com/u/1935983?v=4)](https://github.com/stocarul "stocarul (40 commits)")[![ssergiuss](https://avatars.githubusercontent.com/u/6728725?v=4)](https://github.com/ssergiuss "ssergiuss (3 commits)")

### Embed Badge

![Health badge](/badges/stocarul-twitter-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/stocarul-twitter-bundle/health.svg)](https://phpackages.com/packages/stocarul-twitter-bundle)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
