Download the PHP package robwittman/laravel-shopify-plugin without Composer

On this page you can find all versions of the php package robwittman/laravel-shopify-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-shopify-plugin

Laravel Shopify Plugin

Latest Stable Version Total Downloads License

This library integrates the Shopify API with your Laravel application.

Installation

Usage

Authentication

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

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

The credential Shopify gives your application for access

embedded

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

force_redirect

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

redirect_uri

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

scopes

The scopes we want to ask the store owner for

webhooks

An array of webhooks we should automatically install. If the array key is just the webhook, we automatically register domain.com/shopify/<topic> 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

This will install the following.

Topic Webhook Destination
shop/update https://app.com/shopify/shop/update
app/uninstalled https://app.com/my/custom/webhook
products/create https://app.com/endpoint1
products/create https://custom-api.com/products/create
script_tags

Script tags are URLs that Shopify should automatically load when an installed stores storefront is opened. These run on the customer facing store. NOTE Relative URLs will use the current app domain.

Events

ShopInstalled

Triggered anytime a new store authenticates with your application. This plugin includes 2 listeners that install required webhooks and script tags. You can also use this to send E-mails, persist the store to database, start tenant requirements, etc.

To register the bundled webhooks, you can start with this

EventServiceProvider.php
AppUninstalled

Triggered anytime a store uninstalls your app. Use it to do any last cleanup before saying goodbye.


All versions of laravel-shopify-plugin with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^5.5
robwittman/shopify-php-sdk Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package robwittman/laravel-shopify-plugin contains the following files

Loading the files please wait ....