Download the PHP package merch-one/laravel-api-sdk without Composer
On this page you can find all versions of the php package merch-one/laravel-api-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download merch-one/laravel-api-sdk
More information about merch-one/laravel-api-sdk
Files in merch-one/laravel-api-sdk
Package laravel-api-sdk
Short Description Laravel extension for MerchOne API SDK
License MIT
Informations about the package laravel-api-sdk
MerchOne API SDK for Laravel
This package provide a Laravel extension that allow developers to easily integrate with MerchOne API.
Installation
- If you need config in your config root path, run
php artisan vendor:publish
to publish config.
Overview
- Introduction
- Basic Usage
- Configuration
Introduction
This package extends merch-one/php-api-sdk.
For all package tools & possibilities, please check PHP SDK Documentation
To get the list of available endpoints, please check MerchOne API Documentation
Basic Usage
Package provides several ways to interact with.
-
You can use
MerchOneApiClient
facade. -
You can use Laravel's dependency injection.
- You can ask Laravel's Service Container to resolve the
MerchOne\PhpApiSdk\Contracts\Http\HttpClient
interface.
Once the client is instantiated, you can use all the methods described in the PHP SDK Documentation
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
- The
User-Agent
,Accept
andContent-Type
headers, as well ashttp_error
properties CAN NOT be overwritten !