PHPackages                             neoson/easystore-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. neoson/easystore-api

ActiveLibrary[API Development](/categories/api)

neoson/easystore-api
====================

easystore api library

1.0.1(5y ago)13071[1 issues](https://github.com/lkloon123/easystore-api/issues)MITPHPPHP ^7.2

Since Oct 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lkloon123/easystore-api)[ Packagist](https://packagist.org/packages/neoson/easystore-api)[ RSS](/packages/neoson-easystore-api/feed)WikiDiscussions master Synced 2mo ago

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

Easystore Api
=============

[](#easystore-api)

[![Latest Stable Version](https://camo.githubusercontent.com/1c6e3fe841c57549186eb61699a6a26cc4c7b5f1c05fa2405db75c19d4a54680/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e656f736f6e2f6561737973746f72652d6170692e737667)](https://packagist.org/packages/neoson/easystore-api)[![Build Status](https://camo.githubusercontent.com/f4305be249551f0e571178f627eaddd320b026e4cb1eef3dae2323f44c0aeacc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f6c6b6c6f6f6e3132332f6561737973746f72652d6170692e737667)](https://travis-ci.com/lkloon123/easystore-api)[![StyleCI](https://camo.githubusercontent.com/67d94f7afa3ce8c596f0db12109713dc30ad147a0673cab4223c66643fdd0e6f/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3231333238343732342f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/213284724)[![License](https://camo.githubusercontent.com/5472c7b14b76c5dbe5275d33da7437dd841541bdd28f9819bc53593ee36437b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e656f736f6e2f6561737973746f72652d6170692e737667)](https://packagist.org/packages/neoson/easystore-api)[![Total Downloads](https://camo.githubusercontent.com/cef4e366beaa3bba285182ed1e302f8928d0ac1eb59be226d830893af7ce6bec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e656f736f6e2f6561737973746f72652d6170692e737667)](https://packagist.org/packages/neoson/easystore-api)

A simple php wrapper for [Easystore Api](https://developers.easystore.co/)

Installation
------------

[](#installation)

```
composer require neoson/easystore-api
```

Usage
-----

[](#usage)

Setup Options

```
\EasyStore\Options::setOptions([
    'shop' => 'YOUR SHOP NAME', // required option
    'access_token' => 'YOUR ACCESS TOKEN', // required option for protected endpoint
    'version' => '1.0', // default value
    'timeout' => 15, // default value
]);
```

Create a `\EasyStore\Client` object

```
$client = new \EasyStore\Client();
```

Client Method
-------------

[](#client-method)

Get

```
$client->get($endpoint, $parameter = [])
```

Post

```
$client->post($endpoint, $body)
```

Put

```
$client->put($endpoint, $body)
```

Delete

```
$client->delete($endpoint, $body = [])
```

Arguments

ParamsTypeDescription`endpoint``string`Easystore API endpoint, refer [Easytore Docs](https://developers.easystore.co/docs/api/getting-started)`body``array`body will be converted to JSON`parameter``array`parameter will be converted to query stringAccess Token
------------

[](#access-token)

Create an OAuth Request

```
// setup required options
\EasyStore\Options::setOptions([
    'shop' => 'YOUR SHOP NAME',
    'client_id' => 'YOUR CLIENT ID',
    'scopes' => 'YOUR SCOPES',
    'redirect_uri' => 'YOUR REDIRECT URL',
]);

$requestUrl = $client->buildAuthUrl();

// if you are using laravel
return response()->redirect($requestUrl);
```

Exchange for permanent access token after oauth completed

```
// setup required options
\EasyStore\Options::setOptions([
    'shop' => 'YOUR SHOP NAME',
    'client_id' => 'YOUR CLIENT ID',
    'client_secret' => 'YOUR CLIENT SECRET',
]);

$accessToken = $client->getAccessToken();
//store this access token somewhere
```

Contributing
------------

[](#contributing)

If you want to contribute to a project and make it better, your help is very welcome. Just send a pr and you are all set.

License
-------

[](#license)

This library is released under the [MIT License](LICENSE)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~339 days

Total

2

Last Release

2073d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aca461123c7542f69d0c14b646c4e16b5f2001e182784f53d76f9978abbb44e2?d=identicon)[lkloon123](/maintainers/lkloon123)

---

Top Contributors

[![lkloon123](https://avatars.githubusercontent.com/u/21114981?v=4)](https://github.com/lkloon123 "lkloon123 (7 commits)")

---

Tags

e-commerceeasystore

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/neoson-easystore-api/health.svg)

```
[![Health](https://phpackages.com/badges/neoson-easystore-api/health.svg)](https://phpackages.com/packages/neoson-easystore-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
