Looking to hire Laravel developers? Try LaraJobs

vemar-laravel maintained by patryk-sawicki

Description
Vemar API client for laravel.
Last update
2023/03/11 14:44 (dev-master)
License
Links
Downloads
48

Comments
comments powered by Disqus

Vemar API Client

Vemar API client for laravel.

Requirements

  • PHP 8.0 or higher with json extensions.

Installation

The recommended way to install is through Composer.

composer require patryk-sawicki/vemar-laravel

Usage

Add to env:

VEMAR_API_KEY = 'your_api_key'

Import class:

use PatrykSawicki\VemarApi\app\Classes\Vemar;

Fabric color

Get fabric colors list.

Vemar::fabricColors()->list(bool $returnJson = false);

Files

Get file content, by file id encoded in base 64.

Vemar::files()->get(int $file_id, bool $returnJson = false);

Check price

Check product price.

Vemar::checkPrice()->check(array $params);

Changelog

Changelog is available here.