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

ActiveLibrary[API Development](/categories/api)

andreyco/instagram
==================

An easy-to-use PHP Class for accessing Instagram's API.

4.1.1(8y ago)80217.4k↓37.9%34[1 issues](https://github.com/Andreyco/Instagram-for-PHP/issues)[2 PRs](https://github.com/Andreyco/Instagram-for-PHP/pulls)1BSD-4-ClausePHPPHP &gt;=5.3.0

Since Jul 8Pushed 7y ago11 watchersCompare

[ Source](https://github.com/Andreyco/Instagram-for-PHP)[ Packagist](https://packagist.org/packages/andreyco/instagram)[ Docs](https://github.com/Andreyco/Instagram-for-PHP)[ RSS](/packages/andreyco-instagram/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)DependenciesVersions (10)Used By (1)

[![instagram-logo-400x400](https://user-images.githubusercontent.com/829963/27837919-95368730-60e7-11e7-8071-0ce79f35579b.png)](https://user-images.githubusercontent.com/829963/27837919-95368730-60e7-11e7-8071-0ce79f35579b.png)

Instagram PHP API 4.1.1
=======================

[](#instagram-php-api-411)

A PHP wrapper for the Instagram API. Feedback or bug reports are appreciated.

> Supports Laravel 5.3, 5.4 &amp; 5.5

> Now supports [Instagram video](#instagram-videos) responses.

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

[](#requirements)

- Registered Instagram App
- PHP 5.3 or higher
- cURL

Get started
===========

[](#get-started)

To use the Instagram API with OAuth you have to register yourself as developer at the [Instagram Developer Platform](http://instagr.am/developer/register/) and set up an App. Take a look at the [uri guidlines](#samples-for-redirect-urls) before registering a redirect URI.

Please note that Instagram mainly refers to »Clients« instead of »Apps«. So »Client ID« and »Client Secret« are the same as »App Key« and »App Secret«.

> A good place to get started is the example App.

Initialize the class
--------------------

[](#initialize-the-class)

### Pure PHP

[](#pure-php)

```
