jjsoftwareltd/current-gateway

A Laravel Facade to access the Current RMS Api

Installs: 1 680

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 3

pkg:composer/jjsoftwareltd/current-gateway

v1.12 2025-03-08 21:47 UTC

README

Installation

You can install the package via composer:

composer require jjsoftwareltd/current-gateway

Add your subdmoain and key to your env file:

CURRENT_SUBDOMAIN=
CURRENT_KEY=

You can optionally publish the config file with:

php artisan vendor:publish --tag="current-gateway-config"

Usage

The response is returned as an associative array.

CurrentGateway::get('opportunities', ['page' => 1]);

CurrentGateway::post('opportunities', ['subject' => 'My Job']);

CurrentGateway::put('opportunities/1', ['subject' => 'My Job']);

CurrentGateway::delete('opportunities/1');

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.