PHPackages                             secomapp/shopify\_api - 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. secomapp/shopify\_api

ActiveLibrary[API Development](/categories/api)

secomapp/shopify\_api
=====================

Simple Shopify API client in PHP

0134PHP

Since Nov 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/secomapp/shopify_api)[ Packagist](https://packagist.org/packages/secomapp/shopify_api)[ RSS](/packages/secomapp-shopify-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

shopify\_api
============

[](#shopify_api)

Simple [Shopify API](http://api.shopify.com/) client in PHP

Requirements
------------

[](#requirements)

- PHP 5.3 with [cURL support](http://php.net/manual/en/book.curl.php).

Getting Started
---------------

[](#getting-started)

### Download via [Composer](http://getcomposer.org/)

[](#download-via-composer)

Create a `composer.json` file if you don't already have one in your projects root directory and require shopify\_api:

```
{
	"minimum-stability": "dev",
	"require": {
		"secomapp/shopify_api": "dev-master"
	}
}

```

Install Composer:

```
$ curl -s http://getcomposer.org/installer | php

```

Run the install command:

```
$ php composer.phar install

```

This will download shopify\_api into the `vendor/sandeepshetty/shopify_api` directory.

To learn more about Composer visit

### Require and use

[](#require-and-use)

```

```

### Usage

[](#usage)

#### Generating the app's installation URL for a given store:

[](#generating-the-apps-installation-url-for-a-given-store)

```

```

#### Verify the origin of all requests/redirects from Shopify:

[](#verify-the-origin-of-all-requestsredirects-from-shopify)

```

```

#### Generating the oAuth2 permission URL:

[](#generating-the-oauth2-permission-url)

```
