Download the PHP package erdiko/shopify without Composer

On this page you can find all versions of the php package erdiko/shopify. 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 shopify

erdiko-shopify

Package version

Shopify API Adapter

If you are using composer and php 5.3 or greater, then this is a great package to use. It is compatible with frameworks such as Laravel, Symfony, SlimPHP, and of course Erdiko.

If you are using php 4 or are not using composer then check out ohShopify

Installation

via composer

composer require erdiko/shopify

Usage

To connect to shopify you can use the \erdiko\shopify\Shopify class to connect to the Shopify API. This library can be used within any PHP app that supports composer.

If you are using erdiko you can leverage our service models and sample app to jumpstart your development.

Authorizing your App with your Shopify Store

This module relies on OAuth to access and interact with your shopify stores. Authorization with this module is only required for setup, but it is required for each store.

The workflow of authorizing your application with OAuth is "asking for permission" by constructing a link to allow Shopify to install this application. You will need to expose your application to a URL from which you can redirect and access. Edit your routes config to expose the Shopify module controller to make sure we construct and output the expected output for Shopify like so:

While we will defer you to the official Shopify Docs for complete instructions, here are the brief instructions to authorize your application with your store:

https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}

Tokens:

Erdiko App Skeleton

If you are using Erdiko, www.erdiko.org, there is some useful code for interacting with Shopify (beyond the basic API library).

To install this skeleton app in your existing Erdiko app it takes only 3 steps.

  1. Copy the contents of the erdiko-shopify /app folder into the relavant /app folders in your site.

  2. Modify app/config/default/shopify.json with your specific Shopify settings

  3. Add a route to the Shopfy controller in your routes.json file. The class is /erdiko/shopify/controllers/Shopify.

Feedback

Please send us feedback if you have any questions or suggestions. If you find any bugs or find places where we are not PSR compliant please submit a github issue or email us.

Special Thanks

Arroyo Labs - For sponsoring development, http://arroyolabs.com

cmcdonaldca/ohShopify.php - Original Shopify PHP class


All versions of shopify with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
guzzlehttp/guzzle Version ~6.0
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 erdiko/shopify contains the following files

Loading the files please wait ....