# J7mbo/twitter-api-php

The simplest PHP Wrapper for Twitter API v1.1 calls

Repository: https://github.com/J7mbo/twitter-api-php
Canonical: https://ross.abutalabs.com/products/twitter-api-php
Language: PHP
License: MIT
License Family: permissive
Topics: php, twitter-api, twitterapiexchange, twitterapi, twitter, twitter-oauth, twitter-client
Archived: true
Last push: 2020-04-14T17:33:08+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4926, "days_push": 2332, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1811, forks 774 (observed 2026-08-28T04:05:39.506112+00:00)

## What it is
A minimal PHP wrapper class for making Twitter API v1.1 requests with OAuth authentication. It supports GET, POST, and PUT calls via a simple fluent interface and can be included directly or installed through Composer.

## Use cases
- fetch a user's Twitter timeline in PHP
- post tweets from a PHP script
- block a Twitter user via the API
- get follower IDs for a Twitter account
- make authenticated Twitter API v1.1 GET and POST requests
- build a simple Twitter bot in PHP

## When to choose
- you need a tiny, dependency-light PHP client for Twitter API v1.1
- you want full control over which API endpoint and fields you call
- your project still targets the legacy Twitter v1.1 API

## When to avoid
- you need Twitter API v2 endpoints
- you need OAuth user login flows or advanced features
- the project is abandoned and may break as Twitter changes its API

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, auth, sdk
- domain: apis, social-media, web-development, developer-tools
- platform: php
- tags: twitter-api, oauth, api-wrapper, twitter-v1-1

## Member repositories
- J7mbo/twitter-api-php (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.506112+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:14.274015+00:00, confidence not recorded.
  - readme: https://github.com/J7mbo/twitter-api-php (fetched 2026-08-28T04:05:39.506112+00:00, sha a06f2a3fbd18)
- Data as of 2026-08-30T08:39:29.467469+00:00.
