PHPackages                             mkharla/isdk - 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. mkharla/isdk

ActiveLibrary[API Development](/categories/api)

mkharla/isdk
============

Instagram SDK

07PHP

Since Jul 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/masJIan/isdk)[ Packagist](https://packagist.org/packages/mkharla/isdk)[ RSS](/packages/mkharla-isdk/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP Instagram SDK
=================

[](#php-instagram-sdk)

### Installing

[](#installing)

Add to your composer.json file

```
"require"     : {
    "mkharla/isdk" : "dev-master"
  }

```

### Config file

[](#config-file)

Configure your config file with valid data

```
/*
    |--------------------------------------------------------------------------
    | Instagram API configurations
    |--------------------------------------------------------------------------
    |
    | General configurations
    */

    'api_url'           =>  'https://api.instagram.com/v1',
    'auth_url'          =>  'https://api.instagram.com/oauth/authorize',
    'access_token_url'  =>  'https://api.instagram.com/oauth/access_token',
    'redirect_url'      =>  'yuor-redirect-url',

    /*
    |--------------------------------------------------------------------------
    | Instagram API Client information
    |--------------------------------------------------------------------------
    |
    | This array will be passed to the Instagram SDK client.
    */

    'client'  => [
        'id'            =>  'your-client-id',
        'secret'        =>  'your-secret-key',
    ],

    /*
    |--------------------------------------------------------------------------
    | Login Permissions (Scopes)
    |--------------------------------------------------------------------------
    |
    | The OAuth 2.0 specification allows you to specify the scope of the access you are requesting from the user
    |
    |   + basic             - to read a user’s profile info and media
    |   + public_content    - to read any public profile info and media on a user’s behalf
    |   + follower_list     - to read the list of followers and followed-by users
    |   + comments          - to post and delete comments on a user’s behalf
    |   + relationships     - to follow and unfollow accounts on a user’s behalf
    |   + likes             - to like and unlike media on a user’s behalf

    */

    'permissions'   =>  [
        'basic',
        'public_content'
    ],

    /*
    |--------------------------------------------------------------------------
    | HTTP client
    |--------------------------------------------------------------------------
    |
    | SDK should be implemented using poor PHP (5.6 / 7 , without any frameworks)
    | I was not sure about using guzzlehttp/guzzle, so I made 2 options you can choose here:
    |
    |   vendor - guzzlehttp/guzzle
    |   custom - self made
    */

    'http_client'   =>  'vendor',

    /*
    |--------------------------------------------------------------------------
    | TASK
    |--------------------------------------------------------------------------
    |
    | Notes:
    | You don’t need a front end and you can be sure that third party tool
    | (which will use your SDK) already has an “access_token”.
    */

    'access_token' => 'your-access-token-here'

```

Examples
--------

[](#examples)

You can find few examples of SDK in examples folder

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19682785?v=4)[Mykhailo Kharlanov](/maintainers/masJIan)[@masJIan](https://github.com/masJIan)

---

Top Contributors

[![masJIan](https://avatars.githubusercontent.com/u/19682785?v=4)](https://github.com/masJIan "masJIan (1 commits)")

### Embed Badge

![Health badge](/badges/mkharla-isdk/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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