palpalani/sticky-laravel

Sticky Subscription Commerce Platform Client for Laravel 8/9

0.40 2024-03-13 16:05 UTC

README

Latest Stable Version License GitHub Code Style Action Status

Sticky Subscription Commerce (formerly Lime Light CRM) client for Laravel Framework.

Installation

You can install the package via composer:

composer require palpalani/sticky-laravel

Documentation

https://secure.na1.echosign.com/public/docs/restapi/v5

Configuration

After installing the package, register the KevinEm\LimeLightCRMLaravel\LimeLightCRMLaravelServiceProvider in your config/app.php configuration file:

'providers' => [
    // Other service providers...

    KevinEm\LimeLightCRMLaravel\LimeLightCRMLaravelServiceProvider::class,
],

Also, you can add the LimeLightCRMLaravel facade to the aliases array in your config/app.php configuration file:

'aliases' => [
    // Other facades...
    
    'LimeLightCRM' => KevinEm\LimeLightCRMLaravel\Facades\LimeLightCRMLaravel::class,
],

Publish the config using the following command:

$ php artisan vendor:publish

Example Usage

LimeLightCRM::membership()->validateCredentials();

LimeLightCRM::membership()->viewCustomer(['customer_id' => 86]);

LimeLightCRM::transaction()->newProspect([
    'firstName' => 'John',
    'lastName' => 'Doe',
    'email' => 'jdoe@gmail.com'
]);

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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