PHPackages                             espresso-dev/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. [API Development](/categories/api)
4. /
5. espresso-dev/twitter

ActiveLibrary[API Development](/categories/api)

espresso-dev/twitter
====================

A simple PHP class for accessing the Twitter V2 API

v1.0(3y ago)02.1kMITPHPPHP &gt;=5.6

Since Apr 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/espresso-dev/twitter)[ Packagist](https://packagist.org/packages/espresso-dev/twitter)[ Docs](https://github.com/espresso-dev/twitter)[ RSS](/packages/espresso-dev-twitter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Twitter V2 PHP API
==================

[](#twitter-v2-php-api)

A simple PHP wrapper for the Twitter V2 API.

[![Latest Stable Version](https://camo.githubusercontent.com/7d4c66ea5502ab156daf993defc7ef764ab22f5fa27d31a8054ba9f89c808f41/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657370726573736f2d6465762f747769747465722e7376673f7374796c653d666c6174)](https://packagist.org/packages/espresso-dev/twitter)[![License](https://camo.githubusercontent.com/8435cd369fc47df09d13eb16b0cf39c52f7e4da0c59bb3075b0362b5c31cc9f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f657370726573736f2d6465762f747769747465722e7376673f7374796c653d666c6174)](https://packagist.org/packages/espresso-dev/twitter)[![Total Downloads](https://camo.githubusercontent.com/ee9bca54f32913ee0c02e36db76f577d02ab2766247a81066639eea05dfe6599/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657370726573736f2d6465762f747769747465722e7376673f7374796c653d666c6174)](https://packagist.org/packages/espresso-dev/twitter)

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

[](#requirements)

- PHP 5.6 or higher
- cURL
- Twitter Developer Account
- Twitter App

Get started
-----------

[](#get-started)

### Installation

[](#installation)

I strongly advice using [Composer](https://getcomposer.org) to keep updates as smooth as possible.

```
$ composer require espresso-dev/twitter

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1117d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/254865472?v=4)[espressodev](/maintainers/espressodev)[@espressodev](https://github.com/espressodev)

---

Top Contributors

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

---

Tags

apitwitter

### Embed Badge

![Health badge](/badges/espresso-dev-twitter/health.svg)

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

###  Alternatives

[jublonet/codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.

770865.9k10](/packages/jublonet-codebird-php)[fennb/phirehose

A PHP interface to the Twitter Streaming API.

698402.4k3](/packages/fennb-phirehose)[noweh/twitter-api-v2-php

This library provides methods for sending messages to Twitter and receiving statuses.

131225.2k1](/packages/noweh-twitter-api-v2-php)[makotokw/twient

Twitter Client for PHP 5.3+

2632.0k](/packages/makotokw-twient)[redwebcreation/twitter-stream-api

Consume the Twitter Stream API in real-time.

3220.3k1](/packages/redwebcreation-twitter-stream-api)[corbanb/freebird-php

Twitter API v1.1 Application only authoization library

148.6k](/packages/corbanb-freebird-php)

PHPackages © 2026

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