cegrent/current

Current RMS Laravel Package

Installs: 1 127

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/cegrent/current

0.1.2 2023-08-31 08:49 UTC

This package is auto-updated.

Last update: 2025-09-29 02:28:50 UTC


README

A lightweight package that will allow your Laravel application to talk to the Current RMS API.

Getting Started

Add to your project composer require Cegrent/current dev-master.

  1. Add Cegrent\Current\CurrentServiceProvider::class to providers in config/app.php
  2. Add 'Current' => Cegrent\Current\Current::class to aliases in config/app.php
  3. Run php artisan vendor:publish
  4. Add API Key and domain details to config/current.php

Typical usage

GET request on /products:

Current::get('/products', array('page' => '1', 'per_page' => '20', 'filtermode' => 'all'));

POST request on /availability/group:

Current::post('/availability/group', array(), array('product_availability_view_options' => array('product_group_id' => 1));