PHPackages                             andreinocenti/php-social-scrapper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. andreinocenti/php-social-scrapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

andreinocenti/php-social-scrapper
=================================

A package that scrap social media content

1.0.1(1y ago)219MITPHPPHP ^8

Since Aug 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/andreinocenti/php-social-scrapper)[ Packagist](https://packagist.org/packages/andreinocenti/php-social-scrapper)[ RSS](/packages/andreinocenti-php-social-scrapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

PHP Social Scrapper
===================

[](#php-social-scrapper)

It is a library to scrap social media data from a given URL.

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

[](#installation)

```
composer require andreinocenti/php-social-scrapper
```

Supported Social Medias
-----------------------

[](#supported-social-medias)

- Facebook
- Instagram
- Twitter
- TikTok
- LinkedIn

Usage
-----

[](#usage)

```
use AndreInocenti\PhpSocialScrapper\SocialScrapper;

$scrapper = new SocialScrapper();
$scrappedData = $scrapper->fetch('https://www.instagram.com/p/CT9J9Z9r1Zz/');
```

Important information
---------------------

[](#important-information)

- For twitter videos we use Twitsave API. It is a third-party service so it can be offline or not working properly.
- Videos for TikTok, Instagram, Facebook, and LinkedIn are not supported yet, the package can scrap the text and some engagement data. But the video return as a blob.

For tests
---------

[](#for-tests)

```
## up the container
docker compose up -d
## exec the test into the container
docker exec php-social-scrapper ./vendor/bin/pest

## to stop the container
docker compose down -v
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Every ~12 days

Total

2

Last Release

625d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d5b3ad27cc2ab495bd40b9837f085b35efd442cbd88ceac5971f273ecdd88a6?d=identicon)[andreinocenti](/maintainers/andreinocenti)

---

Top Contributors

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

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/andreinocenti-php-social-scrapper/health.svg)

```
[![Health](https://phpackages.com/badges/andreinocenti-php-social-scrapper/health.svg)](https://phpackages.com/packages/andreinocenti-php-social-scrapper)
```

###  Alternatives

[codewithtony/larathemes

Theme Manager for Laravel 5

123.2k](/packages/codewithtony-larathemes)

PHPackages © 2026

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