PHPackages                             springimport/magento2-api-v1 - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. springimport/magento2-api-v1

ActiveLibrary[HTTP &amp; Networking](/categories/http)

springimport/magento2-api-v1
============================

Base Rest API v1

1.0.8(9y ago)17153.1k↓100%13[2 PRs](https://github.com/springimport/magento2-api-v1/pulls)1MITPHPPHP &gt;=5.4.0

Since May 25Pushed 3y ago5 watchersCompare

[ Source](https://github.com/springimport/magento2-api-v1)[ Packagist](https://packagist.org/packages/springimport/magento2-api-v1)[ RSS](/packages/springimport-magento2-api-v1/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (15)Used By (1)

Rest client for Magento 2
=========================

[](#rest-client-for-magento-2)

This is wrapper over [Guzzle](https://github.com/guzzle/guzzle) for [Magento 2 REST API](http://devdocs.magento.com/guides/v2.0/rest/bk-rest.html). Alternatively, you can use [Swagger Client](https://github.com/springimport/magento2-swagger-api).

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

```
php composer.phar require --prefer-dist springimport/magento2-api-v1 "*"

```

or

```
"springimport/magento2-api-v1": "*"

```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
use springimport\magento2\apiv1\Configuration,
    springimport\magento2\apiv1\ApiFactory;

class ApiClient
{

    public static function get()
    {
        $configuration = new Configuration;
        $configuration->setBaseUri('baseUri');
        $configuration->setConsumerKey('consumerKey');
        $configuration->setConsumerSecret('consumerSecret');
        $configuration->setToken('accessToken');
        $configuration->setTokenSecret('tokenSecret');

        return new ApiFactory($configuration);
    }
}
```

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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 ~10 days

Recently: every ~25 days

Total

14

Last Release

3508d ago

Major Versions

0.3.2 → 1.0.02016-06-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/839b1ecc9269e9304a6db55f7b466441368aecffc531fd809f8aa1adbb04c221?d=identicon)[springimport](/maintainers/springimport)

---

Top Contributors

[![springimport](https://avatars.githubusercontent.com/u/18581994?v=4)](https://github.com/springimport "springimport (16 commits)")

---

Tags

apirestextensionmagento 2

### Embed Badge

![Health badge](/badges/springimport-magento2-api-v1/health.svg)

```
[![Health](https://phpackages.com/badges/springimport-magento2-api-v1/health.svg)](https://phpackages.com/packages/springimport-magento2-api-v1)
```

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[zenditplatform/zendit-php-sdk

PHP client for Zendit API

1204.3k](/packages/zenditplatform-zendit-php-sdk)[whatarmy/fedex-rest

New FedEx Rest API wrapper

2440.5k1](/packages/whatarmy-fedex-rest)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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