New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

mayoz/instagram

Instagram SDK bridge for Laravel 5
599 2

Larablocks Analysis

mayoz/instagram works with Laravel 5 (latest release 1.0.0, Sep 26, 2015), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Sep 26, 2015)
  • 1 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Sep 26, 2015.
  • No releases in the last 12 months.
  • First released: Sep 26, 2015.
  • Monthly downloads: 1.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 4, 2026.

Install
composer require mayoz/instagram
Latest Version:1.0.0
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Sep 1, 2017
Links: GitHub  ·  Packagist
Maintainer: mayoz

Laravel Instagram

Introduction

To get started with Instagram, add to your composer.json file as a dependency:

    composer require mayoz/instagram

Configuration

After installing the Instagram library, register the Mayoz\Instagram\InstagramServiceProvider in your config/app.php configuration file:

    'providers' => [
        // Other service providers...

        Mayoz\Instagram\InstagramServiceProvider::class,
    ],

Also, add the Instagram facade to the aliases array in your app configuration file:

    'Instagram' => Mayoz\Instagram\Facades\Instagram::class,

You will also need to add credentials for the OAuth services your application utilizes. These credentials should be placed in your config/services.php configuration file with instagram key. For example:

    'instagram' => [
        'client_id'     => env('INSTAGRAM_KEY'),
        'client_secret' => env('INSTAGRAM_SECRET'),
        'redirect'      => env('INSTAGRAM_REDIRECT_URI'),
    ],

Basic Usage

Next, you are ready to use. Please see the following examples.

<?php

    namespace App\Http\Controllers;

    use Instagram;
    use Illuminate\Routing\Controller;

    class HomeController extends Controller
    {
        /**
         * Get the most popular Instagram medias.
         *
         * @return Response
         */
        public function getPopularMedia()
        {
            return (array) Instagram::getPopularMedia();
        }
    }

Documentation

This package is only bridge for Laravel5. Please check the Instagram PHP-API documents for more details.

License

THis package is licensed under The MIT License (MIT).

Related Packages

railken/lara-eye
38,967 38
api
juampi92/api-resources

Manage your resources maintaining API versioning

934,862 112
tailflow/laravel-orion

Orion for Laravel allows you to build a fully featured REST API based on your El...

858,251 1,590
unlu/laravel-api-query-builder

Laravel API Query Builder Package.

721,431 327
juampi92/phecks

A package to run custom PHP checks

413,375 4

Version History

Version Released PHP Laravel License
1.0.0 >=5.5.9 ~5.0 MIT