PHPackages                             hashem/instaget - 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. [Image &amp; Media](/categories/media)
4. /
5. hashem/instaget

ActiveLibrary[Image &amp; Media](/categories/media)

hashem/instaget
===============

A simple PHP library to get Instagram photos per user

v1.0.0(11y ago)022MITPHPPHP &gt;=5.4.0

Since Feb 11Pushed 11y ago1 watchersCompare

[ Source](https://github.com/HashemQolami/Instaget)[ Packagist](https://packagist.org/packages/hashem/instaget)[ RSS](/packages/hashem-instaget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Hashem/Instaget
===============

[](#hasheminstaget)

[![Author](https://camo.githubusercontent.com/5e2ab7609f1e4bccbed68d22622984da6e1f388b01d58ffa10795311f3fef746/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4048617368656d516f6c616d692d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/HashemQolami)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/e8a17dc0a99e55f1181d4694917539465510ff48896413ab03ae1957e2e9dd20/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68617368656d2f696e7374616765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hashem/instaget)[![Total Downloads](https://camo.githubusercontent.com/258dba148a318f9f7a76fd17e9ed5a45673d7f86593782b367715a76232f6094/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68617368656d2f696e7374616765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hashem/instaget)

Instaget is a simple PHP library to get Instagram photos per user and to store them on the local server for later usage. Instaget is still in beta, more features will be implemented in the upcoming versions.

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

[](#installation)

Instaget is available via Composer:

```
$ composer require hashem/instaget
```

Usage
-----

[](#usage)

```
use Hashem\Instaget\Instaget as Instaget;
use League\Flysystem\Filesystem;
use League\Flysystem\AdapterInterface;
use League\Flysystem\Adapter\Local as Adapter;

# Our (private) Filesystem
$fs = new Filesystem(new Adapter(__DIR__.'/'), [
    'visibility' => AdapterInterface::VISIBILITY_PRIVATE
]);

$inst = new Instaget($fs, [
	'clientID'  => 'YOUR_CLIENT_ID',
	'username'  => 'USERNAME',
	# Optional parameters:
	'count'     => 6,         // user feed limit
	'imageType' => 'large',   // size of the instagram shots
	'expTime'   => 3600,      // image caching exp. time
	'imagePath' => 'images/', // path to the image directory, with trailing forward-slash
	'dataPath'  => 'data/'    // path to the user's info directory, with trailing forward-slash
]);

# Get/Store the shots!
$shots = $inst->run();
```

Requirements
============

[](#requirements)

Instaget requires PHP 5.4+ and [League\\Flysystem](https://github.com/thephpleague/flysystem) filesystem.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email *hashem at qolami dot com* instead of using the issue tracker.

Credits
-------

[](#credits)

- [Hashem Qolami](https://github.com/HashemQolami)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

4111d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3398793cb874bda6a6e9aa5090200e79f5f8c5341618b294ea13a9bcc217cff0?d=identicon)[HashemQolami](/maintainers/HashemQolami)

---

Top Contributors

[![theshem](https://avatars.githubusercontent.com/u/1310302?v=4)](https://github.com/theshem "theshem (2 commits)")

---

Tags

instagram

### Embed Badge

![Health badge](/badges/hashem-instaget/health.svg)

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

###  Alternatives

[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k51.2M116](/packages/league-glide)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[in2code/instagram

Show images and posts from instagram profiles

2341.4k](/packages/in2code-instagram)[ambroisemaupate/intervention-request

A customizable Intervention Image wrapper to use image simple re-sampling features over urls and a configurable cache.

4242.4k2](/packages/ambroisemaupate-intervention-request)[jolicode/media-bundle

A media management bundle for Symfony applications, with Easyadmin and SonataAdmin integrations.

1054.9k](/packages/jolicode-media-bundle)

PHPackages © 2026

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