Skip to content
T

Twitter

Twitter API for Laravel 5.5+, 6.x, 7.x & 8.x

by atymicFree

#2565in Developer Tools
0In stores

Description

This package is an X (formerly Twitter) API client for PHP, built for Laravel and usable with other frameworks through PHP-DI. The README sa…

Highlights

  • X API v1.1 and v2 clients in one package
  • Switch API versions per call with forApiV1 and forApiV2
  • Object or JSON responses through response_format
  • Laravel service provider configured with environment variables

Ratings & Reviews

No ratings yet

Be the first to rate Twitter.

People also visit

T

twitter-api

A Twitter API alternative and X API alternative on fetcher.sh

AI Skills
Get
X

x-api

An X API alternative and Twitter API alternative on fetcher.sh

AI Skills
Get
X

x-scraper

An X API alternative and Twitter API alternative on fetcher.sh

AI Skills
Get
L

Laravel Twitter Streaming API

Easily work with the Twitter Streaming API in a Laravel app

Developer Tools
Launch
X

xurl

Xurl CLI for authenticated X posts, replies, reads/search, DMs, media upload

AI Skills
Get
C

connector-x

MANDATORY recipe for every Caffeine build that posts to X

AI Skills
Get

Twitter FAQ

What is it?

A PHP package for calling the X (formerly Twitter) API from Laravel, with support for other frameworks through PHP-DI.

Which Laravel versions does it support?

The README says it targets Laravel 10 and 11, and newer versions as they are released.

How do I set it up?

Create an app and an access token in the Application Management area of X, set the variables in your .env file, and optionally publish the config with the artisan command in the README.

Which version should I use?

3.x is the current major version and is not backward compatible with 2.x. 2.x is no longer maintained, and UPGRADE.md describes the move to 3.x.

Is it open source?

Yes. The code is public on GitHub.

What are the best Twitter alternatives?

Popular alternatives to Twitter include Laravel Twitter Streaming API, GetXAPI and TwitterAPIs. See all Twitter alternatives

Developer Stuff

Badges