PHPackages                             jasonalvis/magento2-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. jasonalvis/magento2-twitter

Abandoned → [alvis/magento2-twitter](/?search=alvis%2Fmagento2-twitter)Magento2-module

jasonalvis/magento2-twitter
===========================

Twitter feed.

1.0.0(7y ago)51.1k[1 issues](https://github.com/jasonujmaalvis/magento2-twitter/issues)MITPHP

Since Apr 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jasonujmaalvis/magento2-twitter)[ Packagist](https://packagist.org/packages/jasonalvis/magento2-twitter)[ RSS](/packages/jasonalvis-magento2-twitter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Magento 2: Twitter
==================

[](#magento-2-twitter)

Twitter feeds using the most popular [TwitterOAuth](https://github.com/abraham/twitteroauth) PHP library.

Multiple configuration options giving you full control over your tweets. Global integration option available along with an easy to use widget.

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

[](#installation)

Recommended installation through composer, within your Magento root directory enter the following:

```
composer require alvis/magento2-twitter

```

Enable the module
-----------------

[](#enable-the-module)

```
php bin/magento module:enable Alvis_Core
php bin/magento module:enable Alvis_Twitter

```

You may also need to re-compile:

```
php bin/magento setup:upgrade
php bin/magento setup:di:compile

```

Create your Twitter app
-----------------------

[](#create-your-twitter-app)

You will need to create a Twitter app to get your API credentials. Please use the following steps as a guide:

1. Go to  and login using your Twitter account credentials
2. Create a new application filling in your details. The Callback URL can be left empty
3. Click on the 'Keys and Access Tokens' tab and then 'Create my access token'

Module configuration
--------------------

[](#module-configuration)

The module configuration can be found through the main menu under Alvis. As a minimum please ensure you enter your screen name, consumer key, consumer key secret, access token and access token secret.

### Display settings

[](#display-settings)

Multiple settings available giving you full control over your tweets including:

- Number of tweets to show
- Show user follow button
- Show the user screen name
- Show the user profile image
- Make URL links clickable
- Show the reply link
- Show the retweet link
- Show the favorite link
- Add rel="nofollow" for URL links
- Make # tags clickable
- Make @ tags clickable
- Open links in a new window

### Media settings

[](#media-settings)

Multiple settings for when tweets include images:

- Show media URLs, if set to no media URLs will be stripped from the tweet
- Show media as clickable links not images
- Show media as images not links
- Select the media image size, thumbnail, small, medium or large

### Search settings

[](#search-settings)

Display tweets based off a search query, used when displaying searched tweets.

Integration
-----------

[](#integration)

By default Twitter displays in the main content.

Extend the layout within your theme `//Alvis_Twitter/layout/default.xml`.

Move xml block:

```

```

Remove xml block:

```

```

Update xml block arguments:

```

                New Block Title

```

Override the default templates within your theme create the following files:

```
//Alvis_Twitter/templates/tweets.phtml
//Alvis_Twitter/templates/widget/tweets.phtml

```

The original contents of the files can be found under:

```
/vendor/alvis/magento2-twitter/view/frontend/templates/tweets.phtml
/vendor/alvis/magento2-twitter/view/frontend/templates/widget/tweets.phtml

```

### Widget

[](#widget)

Alternatively you can use the Twitter Feed widget which has the following settings available:

- Number of tweets to show
- Title
- Type of feed to show, latest tweets, mentioned tweets or search tweets
- Search query

Styling
-------

[](#styling)

Currently no styling is provided with the module, please create your own.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2596d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e77305643cc21e2ec6faacea255f521b8d60c18fcabf4f804b8fc6bba35a3af8?d=identicon)[alvis](/maintainers/alvis)

---

Top Contributors

[![jasonujmaalvis](https://avatars.githubusercontent.com/u/1336276?v=4)](https://github.com/jasonujmaalvis "jasonujmaalvis (4 commits)")

---

Tags

magento2magento2-extensionmagento2-extension-freetwitter

### Embed Badge

![Health badge](/badges/jasonalvis-magento2-twitter/health.svg)

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

###  Alternatives

[laravel-notification-channels/twitter

This package makes it easy to send notifications via Twitter with Laravel

176215.7k1](/packages/laravel-notification-channels-twitter)[rezozero/mixedfeed

A PHP library to get social networks feeds and merge them

11130.4k](/packages/rezozero-mixedfeed)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)[jamesedmonston/graphql-authentication

GraphQL authentication for your headless Craft CMS applications.

2917.0k](/packages/jamesedmonston-graphql-authentication)[utxo-one/twitter-ultimate-php

The Ultimate PHP Wrapper for the Twitter v2 API

214.7k](/packages/utxo-one-twitter-ultimate-php)

PHPackages © 2026

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