PHPackages                             kmayo-ss/twitter-stripe - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. kmayo-ss/twitter-stripe

ActiveSilverstripe-module[Authentication &amp; Authorization](/categories/authentication)

kmayo-ss/twitter-stripe
=======================

Oauth connector for Twitter

v1.1.3(10y ago)21.3k2BSD-3-ClausePHP

Since Jan 3Pushed 10y ago3 watchersCompare

[ Source](https://github.com/kmayo-ss/twitter-stripe)[ Packagist](https://packagist.org/packages/kmayo-ss/twitter-stripe)[ RSS](/packages/kmayo-ss-twitter-stripe/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (3)DependenciesVersions (9)Used By (0)

Twitter
=======

[](#twitter)

Introduction
------------

[](#introduction)

The Twitter module supports OAuth on the 1.1 version of Twitter. It uses the Twitter library codebird-php ()

Copyright (C) 2010-2014

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

Maintainer Contact
------------------

[](#maintainer-contact)

```
* Kirk Mayo kirk (at) silverstripe (dot) com

```

Requirements
------------

[](#requirements)

```
* SilverStripe 3.0 +

```

Features
--------

[](#features)

- Connects to Twitter API 1.1 via OAuth
- Fetches tweets for a user timeline

Composer Installation
---------------------

[](#composer-installation)

composer require kmayo-ss/twitter-stripe

Installation Manual
-------------------

[](#installation-manual)

1. Download the module form GitHub (Composer support to be added)
2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
3. Make sure the folder after being extracted is named 'twitter-stripe'
4. Place this directory in your sites root directory. This is the one with framework and cms in it.
5. Run in your browser - `/dev/build` to rebuild the database.

Usage
-----

[](#usage)

To use the module you will need add your OAuth details to the config, see below for example yml config

```
---
Name: mysite
After:
  - 'framework/*'
  - 'cms/*'
---
# YAML configuration for SilverStripe
# See http://doc.silverstripe.org/framework/en/topics/configuration
# Caution: Indentation through two spaces, not tabs
SSTwitter:
  CONSUMER_KEY: Your Twitter Consumer Key from Twitter dashboard
  CONSUMER_SECRET: Your Twitter Consumer Secret from Twitter dashboard
  OAUTH_TOKEN: Your Twitter OAuth token from Twitter dashboard
  OAUTH_SECRET: Your Twitter OAuth secret from Twitter dashboard
  TWITTER_SCREENNAME: Your Twitter screenname/username

```

To fetch Tweets Twitter you need to call the constructor and the method getTweets as per the example below

```
			// setup the instance
			$twitter = new SSTwitter();
			// call the following method to get the number of tweets
			// this example fetches the last tweet you may
			$tweets = (array)$twitter->getTweets(1);
			$tweet = $tweets[0];

```

To send tweets the constructor needs to be called and the method sendTweet needs to be used as below

```
		$twitter = new SSTwitter();
		$twitter->sendTweet('Your updated status');

```

TODO
----

[](#todo)

Add more Twitter features

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 56.5% 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.

###  Release Activity

Cadence

Every ~93 days

Total

5

Last Release

3777d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/337336c48c947ac51fcfbb6ec3d018a6703b63d29d7080d283d714ccd71f0d91?d=identicon)[kmayo-ss](/maintainers/kmayo-ss)

---

Top Contributors

[![kmayo-ss](https://avatars.githubusercontent.com/u/1711912?v=4)](https://github.com/kmayo-ss "kmayo-ss (13 commits)")[![textagroup](https://avatars.githubusercontent.com/u/1495580?v=4)](https://github.com/textagroup "textagroup (10 commits)")

---

Tags

silverstripeoauthtwitter

### Embed Badge

![Health badge](/badges/kmayo-ss-twitter-stripe/health.svg)

```
[![Health](https://phpackages.com/badges/kmayo-ss-twitter-stripe/health.svg)](https://phpackages.com/packages/kmayo-ss-twitter-stripe)
```

###  Alternatives

[themattharris/tmhoauth

An OAuth library written in PHP by @themattharris

8512.3M32](/packages/themattharris-tmhoauth)[smolblog/oauth2-twitter

Twitter OAuth 2.0 Client Provider for The PHP League OAuth2-Client

17190.0k5](/packages/smolblog-oauth2-twitter)[lorenzoferrarajr/lfj-opauth

LfjOpauth is a Zend Framework 2 module that enables support for many authentication providers through the Opauth framework.

2915.4k](/packages/lorenzoferrarajr-lfj-opauth)

PHPackages © 2026

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