PHPackages                             xquik/x-twitter-scraper - 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. xquik/x-twitter-scraper

ActiveLibrary[API Development](/categories/api)

xquik/x-twitter-scraper
=======================

Official PHP SDK for Xquik tweet search, profile tweets, followers, webhooks, and X automation.

v0.4.2(1mo ago)02Apache-2.0PHPPHP ^8.1CI passing

Since Mar 30Pushed 1mo agoCompare

[ Source](https://github.com/Xquik-dev/x-twitter-scraper-php)[ Packagist](https://packagist.org/packages/xquik/x-twitter-scraper)[ Docs](https://docs.xquik.com/sdks/php)[ Fund](https://xquik.com)[ RSS](/packages/xquik-x-twitter-scraper/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (6)Dependencies (28)Versions (10)Used By (0)

X (Twitter) Scraper PHP SDK: Tweet Search, Profile Tweets, Followers &amp; Posting
==================================================================================

[](#x-twitter-scraper-php-sdk-tweet-search-profile-tweets-followers--posting)

[![Ask DeepWiki](https://camo.githubusercontent.com/3c462a2982c08c721b4b9e9abfd2a50b2516257ddc01e35f56b93f7ba842573b/68747470733a2f2f6465657077696b692e636f6d2f62616467652e7376673f75726c3d68747470732533412532462532466769746875622e636f6d253246587175696b2d646576253246782d747769747465722d736372617065722d706870)](https://deepwiki.com/Xquik-dev/x-twitter-scraper-php)[![Skills.sh x-twitter-scraper Skill](https://camo.githubusercontent.com/f3acd85c6cc9af05b7ef9e86bc96839888d0b62273c4d6ff7d1810f95f9b2228/68747470733a2f2f736b696c6c732e73682f622f787175696b2d6465762f782d747769747465722d73637261706572)](https://skills.sh/xquik-dev/x-twitter-scraper)[![NHS Agentic Readiness Score](https://camo.githubusercontent.com/8ae42569bc60f7a5885f339b1baca1a75d77137991b08950d98ce21c077da912/68747470733a2f2f6e6f7468756d616e7365617263682e61692f62616467652f787175696b2e636f6d2e737667)](https://nothumansearch.ai/site/xquik.com)

The Xquik PHP SDK is a Twitter API SDK and X API alternative for tweet search, advanced Twitter search queries, profile tweets, user lookup, follower export, media download, media upload, monitoring, webhooks, and posting automation.

Use it from PHP 8.1.0+ applications to get tweets from profiles, search tweets by keyword or operator query, send tweets, post replies, like, repost, follow, DM, run giveaway draws, and automate X workflows.

It is generated with [Stainless](https://www.stainless.com/).

Documentation
-------------

[](#documentation)

The REST API documentation can be found on [xquik.com](https://xquik.com).

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

[](#installation)

To use this package, install via Composer by adding the following to your application's `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "git@github.com:Xquik-dev/x-twitter-scraper-php.git"
    }
  ],
  "require": {
    "xquik/x-twitter-scraper": "dev-main"
  }
}
```

Usage
-----

[](#usage)

This library uses named parameters to specify optional arguments. Parameters with a default value must be set by name.

```
