PHPackages                             sits/sits-insta-feed - 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. sits/sits-insta-feed

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

sits/sits-insta-feed
====================

for showing insta feed to users.

v1.2.2(1y ago)038mitPHP

Since Jul 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/SoftechureGit/SitsInstaFeed)[ Packagist](https://packagist.org/packages/sits/sits-insta-feed)[ RSS](/packages/sits-sits-insta-feed/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (17)Used By (0)

[Installation Guide](https://htmlpreview.github.io/?https://github.com/SoftechureGit/SitsInstaFeed/blob/main/docs/index.html).

SITS INSTA FEED PACKAGE
=======================

[](#sits-insta-feed-package)

The `sits-insta-feed` package provides a simple way to integrate Instagram feeds into your Laravel project. Follow the steps below to install and use the package.

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

[](#installation)

1. **Create a Laravel Project**

    Set your `APP_URL` and `ASSET_URL` in `.env` file as needed.
2. **Install the Package**

    Run the following command to require the package via Composer:

    composer require sits/sits-insta-feed
3. **Register Provider**

    Open the `config/app.php` file and add the service provider to the providers array:

    ```
    'providers' => [
        Sits\SitsInstaFeed\SitsInstaFeedServiceProvider::class,
    ],

    ```

    **Note:** If your Laravel version is 11 or higher, register the provider in `bootstrap/providers.php`:

    ```
    return [
        Sits\SitsInstaFeed\SitsInstaFeedServiceProvider::class,
    ];

    ```
4. **Publish Package Assets**

    Publish the package assets by running the following Artisan command:

    php artisan vendor:publish --provider="Sits\\SitsInstaFeed\\SitsInstaFeedServiceProvider"
5. **Obtain API Token**

    - **Initial Setup**

        Navigate to `{website-url}/sits-insta-feed-home` in your browser

        1. Click "Continue with Instagram"
        2. You will be redirected to the social feed login page
    - **Authentication** **For New Users:**

        1. Click "Register"
        2. Create a new account
        3. Log in with your newly created credentials
    - **For Existing Users:**

        1. Simply log in with your existing credentials
    - **Connecting Instagram**

        1. After successful login, locate the Instagram tab in the sidebar
        2. Click "Link Instagram Account"
        3. Log in to your Instagram account when prompted
        4. Grant the necessary permissions
        5. You will be redirected back to your project URL
    - **Verification**

        After completing the process, verify that the configuration file has been updated:

        ```
        config/sits_insta_feed.php

        ```
    - **Troubleshooting**

        If you encounter any issues:

        - Ensure all permissions were granted correctly
        - Verify that you're logged into the correct Instagram account
        - Check your internet connection
        - Clear browser cache if needed

    **Note:** If the `config/sits_insta_feed.php` does not have the API token, repeat the step if needed.

Usage
-----

[](#usage)

1. **Import the Service Provider**

    In your controller or wherever you want to use the package, import the `SitsInstaFeedServiceProvider`:

    ```
    use Sits\SitsInstaFeed\SitsInstaFeedServiceProvider;

    ```
2. **Fetch Feed Data**

    Create a method in your controller to fetch and return the Instagram feed data:

    ```
    public function home() {
        $provider = new SitsInstaFeedServiceProvider(app());
        return $provider->getSitsFeedJson();
    }

    ```
3. **Get HTML Content**

    To fetch the HTML content of the posts with predefined widgets:

    ```
    $provider = new SitsInstaFeedServiceProvider(app());
    $data = $provider->getSitsContent('widget_type', 'media-type', 'number_of_post');
    $htmlContent = $data->data;

    ```

    Arguments explanation:

    - widget\_type: 'slider' or 'grid' layout

        **Slider layout** [![grid](https://raw.githubusercontent.com/SoftechureGit/SitsInstaFeed/main/docs/asset/grid.png)](https://raw.githubusercontent.com/SoftechureGit/SitsInstaFeed/main/docs/asset/grid.png)

        **Grid layout** [![slider](https://raw.githubusercontent.com/SoftechureGit/SitsInstaFeed/main/docs/asset/slider.png)](https://raw.githubusercontent.com/SoftechureGit/SitsInstaFeed/main/docs/asset/slider.png)
    - media\_type: 'image' or 'video'

        If you want all media types, leave it blank. `''`
    - number\_of\_post: Number of posts to fetch

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Every ~5 days

Recently: every ~0 days

Total

16

Last Release

575d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e4d9dc09dfcee128c2b89ce6e074e39837a0d69932049f48b86a9481ce000a0?d=identicon)[uday-softechure](/maintainers/uday-softechure)

---

Top Contributors

[![uday-softechure](https://avatars.githubusercontent.com/u/151507362?v=4)](https://github.com/uday-softechure "uday-softechure (26 commits)")

### Embed Badge

![Health badge](/badges/sits-sits-insta-feed/health.svg)

```
[![Health](https://phpackages.com/badges/sits-sits-insta-feed/health.svg)](https://phpackages.com/packages/sits-sits-insta-feed)
```

###  Alternatives

[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1413.0M10](/packages/opentok-opentok)[automattic/wistia-php

PHP wrapper for Wistia API

1431.9k](/packages/automattic-wistia-php)[daun/statamic-placeholders

Generate low-quality image placeholders for lazyloading Statamic assets

106.6k](/packages/daun-statamic-placeholders)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[daun/statamic-mux

Seamless video encoding and streaming using Mux on Statamic sites

132.3k](/packages/daun-statamic-mux)

PHPackages © 2026

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