PHPackages                             robwittman/laravel-shopify-plugin - 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. robwittman/laravel-shopify-plugin

ActiveLibrary[API Development](/categories/api)

robwittman/laravel-shopify-plugin
=================================

Library to integrate Shopify with Laravel

v1.0.0-alpha.1(8y ago)8333PHP

Since Feb 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/robwittman/laravel-shopify-plugin)[ Packagist](https://packagist.org/packages/robwittman/laravel-shopify-plugin)[ RSS](/packages/robwittman-laravel-shopify-plugin/feed)WikiDiscussions master Synced yesterday

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

Laravel Shopify Plugin
----------------------

[](#laravel-shopify-plugin)

[![Latest Stable Version](https://camo.githubusercontent.com/d501208456d682963a89212070a1aed0eb737cc2994015f5d8f4ef2671bfdb01/68747470733a2f2f706f7365722e707567782e6f72672f726f62776974746d616e2f6c61726176656c2d73686f706966792d706c7567696e2f762f737461626c65)](https://packagist.org/packages/robwittman/laravel-shopify-plugin)[![Total Downloads](https://camo.githubusercontent.com/5352a17a77f6927db122ad19870f62b44f255103b00cccef28319c0e4f99905f/68747470733a2f2f706f7365722e707567782e6f72672f726f62776974746d616e2f6c61726176656c2d73686f706966792d706c7567696e2f646f776e6c6f616473)](https://packagist.org/packages/robwittman/laravel-shopify-plugin)[![License](https://camo.githubusercontent.com/316af1eaaf0c1cb4fefd85fdd65c67b272b1a2dfaa0939ff18cdd3a241649da6/68747470733a2f2f706f7365722e707567782e6f72672f726f62776974746d616e2f6c61726176656c2d73686f706966792d706c7567696e2f6c6963656e7365)](https://packagist.org/packages/robwittman/laravel-shopify-plugin)

This library integrates the Shopify API with your Laravel application.

### Installation

[](#installation)

```
composer require robwittman/laravel-shopify-plugin
php artisan vendor:publish

```

### Usage

[](#usage)

#### Authentication

[](#authentication)

By default, the package exposes `/shopify/install` for app installation, and `shopify/uninstall` to listen for the app uninstalled webhook.

#### Configuration

[](#configuration)

The config file for this library is located at `/config/shopify.php`. This must be filled out using the details from your app in the Shopify Partners dashboard.

##### api\_key / api\_secret

[](#api_key--api_secret)

The credential Shopify gives your application for access

##### embedded

[](#embedded)

Wether or not your app is embedded. Embedded apps load inside Shopify's admin panel

##### force\_redirect

[](#force_redirect)

If you initialize the embedded app, and are not in Shopify's admin panel IFrame, should the app automatically redirect

##### redirect\_uri

[](#redirect_uri)

The URL Shopify should send stores to after they authenticate your application

##### scopes

[](#scopes)

The scopes we want to ask the store owner for

##### webhooks

[](#webhooks)

An array of webhooks we should automatically install. If the array key is just the webhook, we automatically register `domain.com/shopify/` as the webhook destination. If the array is associative, we'll use the specified route. If you supply an array of routes, we'll install each one. **NOTE** Relative URLs will use the current app domain. Also, we recommend at least the `app/uninstalled` webhook being set, so the app is notified when someone uninstalls

```
