Current RMS Laravel Package
A lightweight package that will allow your Laravel application to talk to the Current RMS API., (*1)
Getting Started
Add to your project composer require Cegrent/current dev-master
., (*2)
- Add
Cegrent\Current\CurrentServiceProvider::class
to providers in config/app.php
- Add
'Current' => Cegrent\Current\Current::class
to aliases in config/app.php
- Run
php artisan vendor:publish
- Add API Key and domain details to config/current.php
Typical usage
GET request on /products
:, (*3)
Current::get('/products', array('page' => '1', 'per_page' => '20', 'filtermode' => 'all'));
, (*4)
POST request on /availability/group
:, (*5)
Current::post('/availability/group', array(), array('product_availability_view_options' => array('product_group_id' => 1));
, (*6)