PHPackages                             frmontini/instafeed - 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. frmontini/instafeed

ActiveLibrary[API Development](/categories/api)

frmontini/instafeed
===================

Get basic information and latest posts from a public Instagram profile.

v1.0.3(4y ago)011OSL-3.0PHPPHP &gt;=7.2.0

Since Nov 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/frmontini/instafeed)[ Packagist](https://packagist.org/packages/frmontini/instafeed)[ RSS](/packages/frmontini-instafeed/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP InstaFeed
=============

[](#php-instafeed)

Now you can get data from public profile pages on Instagram without logging in.

Get started
-----------

[](#get-started)

This repository requires `Composer 2.x` to install. You can update it using a simple command in your console: `composer self-update --preview`. Also, you need to run on `PHP 7.2.x`.

Composer command to install:

```
composer require frmontini/instafeed
```

How to use
----------

[](#how-to-use)

Just follow the example below:

```
include('vendor/autoload.php');

$utils = new InstaFeed\Utils();

/* TO GET INSTAGRAM CONTENT */

$username = 'cocacola';
$data = $utils->getData($username);
print_r(json_decode($data));

/* TO CLEAR CACHE */

$username = 'cocacola';
$utils->noCache($username);
```

About cache
-----------

[](#about-cache)

To prevent blocking access to the profile and redirecting to the login page, further calls to fetched profiles will return cached data. You can clear persisted data from a specific profile using the `noCache` function (see example above).

License
-------

[](#license)

OSL-3.0

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1633d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/365ddca7c88d014b35b541f2dc186f7fe2e0011ce6e94b6963da053672026bab?d=identicon)[frmontini](/maintainers/frmontini)

---

Top Contributors

[![frmontini](https://avatars.githubusercontent.com/u/20321746?v=4)](https://github.com/frmontini "frmontini (12 commits)")

### Embed Badge

![Health badge](/badges/frmontini-instafeed/health.svg)

```
[![Health](https://phpackages.com/badges/frmontini-instafeed/health.svg)](https://phpackages.com/packages/frmontini-instafeed)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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