PHPackages                             merch-one/laravel-api-sdk - 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. merch-one/laravel-api-sdk

ActiveLibrary[API Development](/categories/api)

merch-one/laravel-api-sdk
=========================

Laravel extension for MerchOne API SDK

1.0.0(3y ago)08MITPHPPHP &gt;=7.4

Since Apr 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/merch-one/laravel-api-sdk)[ Packagist](https://packagist.org/packages/merch-one/laravel-api-sdk)[ RSS](/packages/merch-one-laravel-api-sdk/feed)WikiDiscussions master Synced 1mo ago

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

 MerchOne API SDK for Laravel
------------------------------

[](#----merchone-api-sdk-for-laravel)

 [![Packagist Version](https://camo.githubusercontent.com/64afc9618f934ea8e687215ae753885de657bc79d5388c32b7658f59682caa68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d657263682d6f6e652f6c61726176656c2d6170692d73646b3f636f6c6f723d6f72616e6765267374796c653d666c61742d737175617265)](https://packagist.org/packages/merch-one/laravel-api-sdk) [![License](https://camo.githubusercontent.com/c7fe0537f65d04499bfe034419fdf6f180c02c23379080dac8936b147f16a6ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d657263682d6f6e652f6c61726176656c2d6170692d73646b3f636f6c6f723d627269676874677265656e267374796c653d666c61742d737175617265)](https://packagist.org/packages/merch-one/laravel-api-sdk) [![Minimum PHP version](https://camo.githubusercontent.com/c3627fa4af10b0e05297f02700ebf8572399f9089c99606522e21c606e1cb54b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d657263682d6f6e652f6c61726176656c2d6170692d73646b2f7068703f7374796c653d666c61742d737175617265)](https://packagist.org/packages/merch-one/laravel-api-sdk) [![GitHub last commit](https://camo.githubusercontent.com/bb24b8f9920da5549c271f68c7417c35a82d8b3de235d27e64c4bf0709025671/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f6d657263682d6f6e652f6c61726176656c2d6170692d73646b3f636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://packagist.org/packages/merch-one/laravel-api-sdk)

This package provide a Laravel extension that allow developers to easily integrate with MerchOne API.

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

[](#installation)

```
composer require merch-one/laravel-api-sdk
```

- If you need config in your config root path, run `php artisan vendor:publish` to publish config.

```
php artisan vendor:publish --provider="MerchOne\LaravelApiSdk\Providers\MerchOneApiServiceProvider" --tag="config"
```

Overview
--------

[](#overview)

- [Introduction](#introduction)
- [Basic Usage](#basic-usage)
- [Configuration](#configuration)

---

### Introduction

[](#introduction)

**This package extends merch-one/php-api-sdk.**

**For all package tools &amp; possibilities, please check [PHP SDK Documentation](https://github.com/merch-one/php-api-sdk#basic-usage)**

**To get the list of available endpoints, please check [MerchOne API Documentation](https://docs.merchone.com/api-reference)**

---

### Basic Usage

[](#basic-usage)

**Package provides several ways to interact with.**

- You can use `MerchOneApiClient` facade.

```
use MerchOne\LaravelApiSdk\Facades\MerchOneApiClient;

class MyService
 {
    public function doSomething(): void
     {
        $client = MerchOneApiClient::auth()->...;
    }
}
```

- You can use Laravel's dependency injection.

```
use MerchOne\PhpApiSdk\Contracts\Http\HttpClient;

class MyService
 {
    public function doSomething(HttpClient $client): void
     {
        $client = $client->auth()->...;
    }
}
```

- You can ask Laravel's [Service Container](https://laravel.com/docs/container) to resolve the `MerchOne\PhpApiSdk\Contracts\Http\HttpClient` interface.

```
use MerchOne\PhpApiSdk\Contracts\Http\HttpClient;

class MyService
 {
    public function doSomething(): void
     {
        $client = app(HttpClient::class)->auth()->...;
    }
}
```

Once the client is instantiated, you can use all the methods described in the [PHP SDK Documentation](https://github.com/merch-one/php-api-sdk#basic-usage)

---

### Configuration

[](#configuration)

**Once the `merch-one-api` config is published, you can configure the API version and Guzzle request options.**

To see all available options, please check [Guzzle Documentation](https://docs.guzzlephp.org/en/stable/request-options.html)

- The `User-Agent`, `Accept` and `Content-Type` headers, as well as `http_error` properties **CAN NOT** be overwritten !

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

1130d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/093aed183e47a051d6e7392472d60f13ac0cfaf98cc56d2ab2ce2842fa880103?d=identicon)[merch-one](/maintainers/merch-one)

---

Top Contributors

[![allanvb](https://avatars.githubusercontent.com/u/53047487?v=4)](https://github.com/allanvb "allanvb (2 commits)")

---

Tags

apiapi-clientapi-librarylaravellaravel-packagemerchonemerchone-apiphpprintondemand

### Embed Badge

![Health badge](/badges/merch-one-laravel-api-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/merch-one-laravel-api-sdk/health.svg)](https://phpackages.com/packages/merch-one-laravel-api-sdk)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[sajya/server

Easy implementation of the JSON-RPC 2.0 server for the Laravel framework.

2391.9M4](/packages/sajya-server)[wotz/laravel-swagger-ui

Add Swagger UI to a Laravel application.

277321.8k](/packages/wotz-laravel-swagger-ui)[vemcogroup/laravel-weather

Weather package for Laravel to use different providers to get weather info

5525.0k](/packages/vemcogroup-laravel-weather)[yakovenko/laravel-lighthouse-graphql-multi-schema

A Laravel package that provides multi-schema support for Lighthouse GraphQL.

1562.5k](/packages/yakovenko-laravel-lighthouse-graphql-multi-schema)

PHPackages © 2026

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