PHPackages                             3dgoo/silverstripe-instagram-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. 3dgoo/silverstripe-instagram-scraper

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

3dgoo/silverstripe-instagram-scraper
====================================

An Instagram scraper module for Silverstripe

1.0.0(5y ago)247[1 PRs](https://github.com/3Dgoo/silverstripe-instagram-scraper/pulls)MITPHPCI failing

Since Jun 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/3Dgoo/silverstripe-instagram-scraper)[ Packagist](https://packagist.org/packages/3dgoo/silverstripe-instagram-scraper)[ RSS](/packages/3dgoo-silverstripe-instagram-scraper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (4)Used By (0)

Silverstripe Instagram scraper module
=====================================

[](#silverstripe-instagram-scraper-module)

[![Build Status](https://camo.githubusercontent.com/d9f81be5fddff1e70fc988654dad5fa9125a73173ee55ccc95aa97edd084f895/68747470733a2f2f7472617669732d63692e6f72672f3364676f6f2f73696c7665727374726970652d696e7374616772616d2d736372617065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/3dgoo/silverstripe-instagram-scraper)[![codecov.io](https://camo.githubusercontent.com/afd87ffe0eb0b161d77a3053fadf497f7be4aa870f3a5dfb877b86d9f3574260/68747470733a2f2f636f6465636f762e696f2f6769746875622f3364676f6f2f73696c7665727374726970652d696e7374616772616d2d736372617065722f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/gh/3dgoo/silverstripe-instagram-scraper?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4002ea7fe6995f9c8d7f160b48440f7f64d19d0f9028947cfa5889e77c8d4ca0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f3364676f6f2f73696c7665727374726970652d696e7374616772616d2d736372617065722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/3dgoo/silverstripe-instagram-scraper/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/0b138403412468e9b7a7dbe65b764f485af0580f4541ce1380977eddd4d97687/68747470733a2f2f706f7365722e707567782e6f72672f3364676f6f2f73696c7665727374726970652d696e7374616772616d2d736372617065722f762f737461626c65)](https://packagist.org/packages/3dgoo/silverstripe-instagram-scraper)[![Total Downloads](https://camo.githubusercontent.com/4c8b2a6d9b20eed6cad0d9c00567df9bd3ba28262affa8bd66b5f8ce827e057f/68747470733a2f2f706f7365722e707567782e6f72672f3364676f6f2f73696c7665727374726970652d696e7374616772616d2d736372617065722f646f776e6c6f616473)](https://packagist.org/packages/3dgoo/silverstripe-instagram-scraper)[![Latest Unstable Version](https://camo.githubusercontent.com/d696ce7eeed20dab74980f9b73a85151645a3eca482c9d49f150ea768b384507/68747470733a2f2f706f7365722e707567782e6f72672f3364676f6f2f73696c7665727374726970652d696e7374616772616d2d736372617065722f762f756e737461626c65)](https://packagist.org/packages/3dgoo/silverstripe-instagram-scraper)[![License](https://camo.githubusercontent.com/3a957383636028ebd4dbb00e95640df00cd3de2a056030ca0873ce2c3f069788/68747470733a2f2f706f7365722e707567782e6f72672f3364676f6f2f73696c7665727374726970652d696e7374616772616d2d736372617065722f6c6963656e7365)](LICENSE)

An Instagram scraper module for Silverstripe.

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

[](#requirements)

- [Silverstripe Framework 4.x](https://github.com/silverstripe/silverstripe-framework)
- [Instagram PHP Scraper 0.9](https://github.com/postaddictme/instagram-php-scraper)
- [phpfastcache 7.1](https://github.com/PHPSocialNetwork/phpfastcache)

Installation (with composer)
----------------------------

[](#installation-with-composer)

```
$ composer require 3dgoo/silverstripe-instagram-scraper

```

Usage
-----

[](#usage)

Import Instagram posts of a certain handle through running the following dev task:

```
php vendor/silverstripe/framework/cli-script.php dev/tasks/import-instagram-posts handle=

```

Sometimes Instagram may require us to log in to fetch this data. This can be done by adding the following to our `.env` file:

```
INSTAGRAM_USERNAME=""
INSTAGRAM_PASSWORD=""

```

Once our Instagram posts are imported we can display them with the following code:

**PageController.php**

```
use X3dgoo\InstagramScraper\Model\InstagramPost;

class PageController extends ContentController
{
    public function InstagramPosts($limit = 10)
    {
        return InstagramPost::get()
            ->filter([
                'Show' => true,
            ])
            ->limit($limit);
    }
}

```

**Page.ss**

```

                $Caption.LimitWordCount(20)

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~0 days

Total

2

Last Release

2169d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d291c7429ff8684f948ffb3180ae3d1e78aa53bb6c79bd9d7afb57752e441486?d=identicon)[3Dgoo](/maintainers/3Dgoo)

---

Top Contributors

[![3Dgoo](https://avatars.githubusercontent.com/u/2616373?v=4)](https://github.com/3Dgoo "3Dgoo (37 commits)")

---

Tags

instagramsilverstripescraper

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/3dgoo-silverstripe-instagram-scraper/health.svg)

```
[![Health](https://phpackages.com/badges/3dgoo-silverstripe-instagram-scraper/health.svg)](https://phpackages.com/packages/3dgoo-silverstripe-instagram-scraper)
```

###  Alternatives

[raiym/instagram-php-scraper

Instagram PHP Scraper. Get account information, photos and videos without any authorization

3.3k1.2M6](/packages/raiym-instagram-php-scraper)

PHPackages © 2026

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