PHPackages                             xddesigners/silverstripe-twitter - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xddesigners/silverstripe-twitter

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

xddesigners/silverstripe-twitter
================================

Simple Twitter feed for Silverstripe

14271PHP

Since Apr 22Pushed 2y ago2 watchersCompare

[ Source](https://github.com/xddesigners/silverstripe-twitter)[ Packagist](https://packagist.org/packages/xddesigners/silverstripe-twitter)[ RSS](/packages/xddesigners-silverstripe-twitter/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Update to Silverstripe 5

Simple Twitter feed for Silverstripe
====================================

[](#simple-twitter-feed-for-silverstripe)

This module puts a simple twitter feed into your page. Nothing fancy!

Credits and Authors
-------------------

[](#credits-and-authors)

### Original module

[](#original-module)

- Damian Mooyman -

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

[](#requirements)

- SilverStripe 4.0 or above
- PHP 5.4

Installation Instructions
-------------------------

[](#installation-instructions)

- Extract all files into the 'twitter' folder under your SilverStripe root, or install using composer

```
composer require "xddesigners/silverstripe-twitter" "4.x.*@dev"
```

- Run a dev/build to generate the required fields
- Signup for a twitter app at  and create an access token. Go to the "Settings" tab in the CMS and load both the Consumer keys and the access token keys into the 'Twitter App' tab.
- Put an `` into your template, or you can use the following to create a list of items.

```

					@$User
					$DateObject.format('d F Y')

				$Content.RAW

```

Templating
----------

[](#templating)

Tweets can be retrieved with one of the following controller functions (inside a loop or control)

- $LatestTweets('10') - Returns up to the specified number of tweets (defaults to 10 if no count specified)
- $LatestTweet - Returns the latest tweet
- $Favorite('4') - Returns up to the specified number of favorite tweets (defaults to 4 if no count specified)

Each tweet object has the following properties:

- ID - Twitter ID of the tweet
- Date - Creation date (string value)
- TimeAgo - Tweet age (string value)
- DateObject - SS\_DateTime instance containing Date value
- User - Username of poster
- Name - Real name of poster
- Content - Tweet HTML
- Link - Link to tweet
- AvatarUrl - Link to poster's Avatar
- ProfileLink - Link to author profile
- ReplyLink - Link to reply to this tweet
- RetweetLink - Linke to retweet this tweet
- FavouriteLink - Link to add this tweet to favourites

Config
------

[](#config)

To use SSL on inserted media (prevents mixed content warnings on SSL websites), add to config.yml:

```
XD\Twitter\Services\TwitterService:
  use_https: true
```

License
-------

[](#license)

Copyright (c) 2021, XD designers All rights reserved.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- The name of Damian Mooyman may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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/e35b3b006174e7015e9711c27bdee08fb707a816a434276c22dcb6327185c35b?d=identicon)[RVXD](/maintainers/RVXD)

---

Top Contributors

[![RVXD](https://avatars.githubusercontent.com/u/1586761?v=4)](https://github.com/RVXD "RVXD (9 commits)")[![LukasViolet88](https://avatars.githubusercontent.com/u/155470295?v=4)](https://github.com/LukasViolet88 "LukasViolet88 (2 commits)")[![UndefinedOffset](https://avatars.githubusercontent.com/u/1391558?v=4)](https://github.com/UndefinedOffset "UndefinedOffset (1 commits)")

### Embed Badge

![Health badge](/badges/xddesigners-silverstripe-twitter/health.svg)

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

PHPackages © 2026

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