Download the PHP package crazymeeks/php-shopify without Composer

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

PHP Shopify

PHP Shopify is a library that provides simple yet Object Oriented way
of interacting with Shopify.

Requirements

Installation

Copy and paste this in your terminal composer require crazymeeks/php-shopify

Available APIs

Configuration/Setup

In order to use this library, a minimal configration is need. We will be creating two class.
Let's call it ConfigContext and InstallContext.
ConfigContext must implement \Crazymeeks\App\Contracts\ShopifyConfigContextInterface and InstallContext must implement Crazymeeks\App\Contracts\InstallContextInterface.
Note: You may name your classes to whatever you want.
Please follow instruction properly and you'll be good to go!

  1. ConfigContext

  2. InstallContext

#

Let someone install your app!

In order for your app to communicate with Shopify, it has to be installed on shopify.
Just instantiate Crazymeeks\App\Shopify and call its install() method.
The 1st argument you would need to pass in this method is the instance of InstallContext
you just defined above. The 2nd argument would be the url of your shopify store like test.myshopify.com.
That's it! You will be redirected to your shopify store to continue the installation.

Get Access Token

When your app is installed into shopify, shopify will load your app into
its Dashboard(iframed) along with these important parameters: hmac, code, shop, timestamp.
You need these parameters in order to get an access token for your app.
You are required to pass these in the setData() method of Crazymeeks\App\Shopify::class.
We will use \Crazymeeks\App\Resource\Action\GetShopAccessToken:class as our action.

Customer API

Use to manage customer data. Please refer to shopify's documentation for the response and other details.
Create Customer - When creating a customer to shopify, you just need to instantiate \Crazymeeks\App\Resource\Action\CreateCustomer::class
and pass it as an argument to setAction() of \Crazymeeks\App\Shopify::class

Search Customer

Retrieve Single Customer

Customer email domain whitelisting
You may also whitelist the list of email domain you wish to allow when adding/creating a customer.
For example, if you want to allow only all email with the domain @gmail.com,
just call setWhitelistedEmailDomains(). This method accepts an array. Thus,
you may whitelist as many email domain as you want!

#

Collect API

According to shopify, Collects are meant for managing the relationship between products and custom collections. Get Collect List

Get Collect By ID

Get Collect Count

#

Collection API

According to shopify, A collection is a grouping of products that merchants can create to make their stores easier to browse. For example, a merchant might create a collection for a specific type of product that they sell, such as Footwear.

Retrieve a list of products belonging to a collection

Retrieve single collection

Add Product to a collection

Delete Product from collection

#

Orders API

According to shopify, Order API give merchants new ways to receive, process, and manage their orders.
Retrieve Orders

Retrieve Single Order

Retrieve Order Count

Closing an Order

Opening an Order

Cancelling an Order

#

Script Tag API

According to shopify, the ScriptTag resource represents remote JavaScript code that is loaded into the pages of a shop's storefront or the order status page of checkout. This lets you add functionality to those pages without using theme templates.

Create Script Tag

Retrieve Script Tags

Update Script Tag

Delete Script Tag

Retreive count of Script Tag

Author

Jeff Claud


All versions of php-shopify with dependencies

PHP Build Version
Package Version
Requires ixudra/curl Version dev-master
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 crazymeeks/php-shopify contains the following files

Loading the files please wait ....