PHPackages                             aunhurian/instagram-parser - 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. aunhurian/instagram-parser

Abandoned → [aunhurian/instagram-parser](/?search=aunhurian%2Finstagram-parser)Php-library[API Development](/categories/api)

aunhurian/instagram-parser
==========================

PHP parser to consume the instagram feed.

v1.0.2(2y ago)07MITPHPPHP ^8.0

Since Sep 8Pushed 2y agoCompare

[ Source](https://github.com/AUnhurian/instagram-parser)[ Packagist](https://packagist.org/packages/aunhurian/instagram-parser)[ RSS](/packages/aunhurian-instagram-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Instagram Parser
================

[](#instagram-parser)

[![Latest Stable Version](https://camo.githubusercontent.com/9d5fb7088ca6bf8863a4d476218bb67d1f19a79a30c2b7d7d3364c20ad41877c/687474703a2f2f706f7365722e707567782e6f72672f61756e68757269616e2f696e7374616772616d2d7061727365722f76)](https://packagist.org/packages/aunhurian/instagram-parser) [![Total Downloads](https://camo.githubusercontent.com/e43373f4b523592d4b9716546ffb0d0d2791e661e415eca8fb8fe4d69b515f22/687474703a2f2f706f7365722e707567782e6f72672f61756e68757269616e2f696e7374616772616d2d7061727365722f646f776e6c6f616473)](https://packagist.org/packages/aunhurian/instagram-parser) [![Latest Unstable Version](https://camo.githubusercontent.com/b9b6bbf3a3b1e4ab04963ffe17a17647088e0b70f712339a4aebed1ca0a5c543/687474703a2f2f706f7365722e707567782e6f72672f61756e68757269616e2f696e7374616772616d2d7061727365722f762f756e737461626c65)](https://packagist.org/packages/aunhurian/instagram-parser) [![License](https://camo.githubusercontent.com/5da16be19f839139e979711ad0c29277cb0876d9c83c619d2981945e612c0def/687474703a2f2f706f7365722e707567782e6f72672f61756e68757269616e2f696e7374616772616d2d7061727365722f6c6963656e7365)](https://packagist.org/packages/aunhurian/instagram-parser) [![PHP Version Require](https://camo.githubusercontent.com/16aec0a334ea443e32230919c868b821222aed5fae3cd7d0cdd4c55619c6c050/687474703a2f2f706f7365722e707567782e6f72672f61756e68757269616e2f696e7374616772616d2d7061727365722f726571756972652f706870)](https://packagist.org/packages/aunhurian/instagram-parser)

The Instagram parser gives you an easy interface to parse all the Instagram's data. Like an API, but without being it! You can get posts by a tag, all user posts

Setup
-----

[](#setup)

```
composer require aunhurian/instagram-parser:dev-master
```

Before run your parsers, you first need a **query hash**. Follow this 5 steps to get yours: [How to get a query hash](/docs/setup.md#how-to-get-your-query-hash-old-query-id).

Start parsing!
--------------

[](#start-parsing)

Let's parse all data tagged with the string "github" for instance. You will get a scaled infinite loop of posts related to it until they are finished.

```
use Mineur\InstagramParser\Instagram;
use Mineur\InstagramParser\Model\InstagramPost;

$queryHash = '298b92c8d7cad703f7565aa892ede943';

Instagram::createTagParser($queryHash)
    ->parse('github', function(InstagramPost $post) {
        dump($post);
    });
```

### The console dump will be like this:

[](#the-console-dump-will-be-like-this)

[![](docs/img/example.gif)](docs/img/example.gif)

Motivation
----------

[](#motivation)

Since Instagram has restricted its API only to registered and verified applications, you can't get all of its public data being an experimental user or a data science analyst who just wants to play with that, you only have access to the API sandbox mode.

So I decided to create an alternative parser on top of GuzzleHttp library to access to the entire data with a nice interface.

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

[](#documentation)

For more information about this library [see the docs](/docs/index.md).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% 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

3

Last Release

974d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20e46394c7c08adc5cb6d13e0d23b601a1aed6fa9b1ebc05926f80a89fac0aad?d=identicon)[ELWAHAB](/maintainers/ELWAHAB)

---

Top Contributors

[![alexhoma](https://avatars.githubusercontent.com/u/7917771?v=4)](https://github.com/alexhoma "alexhoma (68 commits)")[![AUnhurian](https://avatars.githubusercontent.com/u/25745274?v=4)](https://github.com/AUnhurian "AUnhurian (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aunhurian-instagram-parser/health.svg)

```
[![Health](https://phpackages.com/badges/aunhurian-instagram-parser/health.svg)](https://phpackages.com/packages/aunhurian-instagram-parser)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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