PHPackages                             randsx/instagram-downloader - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. randsx/instagram-downloader

ActiveLibrary[File &amp; Storage](/categories/file-storage)

randsx/instagram-downloader
===========================

PHP package download the image or video on Instagram

v1.0(5y ago)4150[1 issues](https://github.com/RandsX/Instagram-Downloader/issues)LGPL-3.0-onlyPHPPHP &gt;=7.1

Since Dec 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/RandsX/Instagram-Downloader)[ Packagist](https://packagist.org/packages/randsx/instagram-downloader)[ RSS](/packages/randsx-instagram-downloader/feed)WikiDiscussions main Synced 3w ago

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

Instagram Downloader
====================

[](#instagram-downloader)

> A package for download the image or video in Instagram.

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

[](#installation)

Install using composer

```
composer require randsx/instagram-downloader
```

Usage
-----

[](#usage)

```
use RandsX\InstagramDownloader\InstagramDownloader;

$instagram = new InstagramDownloader;
```

First set the url that you want to download the image / video as follows.

- Method 1

```
$instagram = new InstagramDownloader("https://instagram.com/link");
```

- Method 2

```
$instagram = new InstagramDownloader;
$instagram->setURL("https://instagram.com/link");
```

If you want to know the image / video type of the url you have defined, do it like this

```
$instagram->getType();
// Returned "image" or "video"
```

Then if you want to get the download link, do it like this

```
$instagram->getDownloadLink();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

2038d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/68506532?v=4)[RandsX](/maintainers/RandsX)[@RandsX](https://github.com/RandsX)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/randsx-instagram-downloader/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[google/cloud

Google Cloud Client Library

1.2k16.7M57](/packages/google-cloud)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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