palpalani/sticky-php

Sticky Subscription Commerce Platform PHP Client

0.3.0 2024-04-19 05:04 UTC

README

https://sticky.io/

Latest Stable Version License

Installation

To install, use composer:

composer require palpalani/sticky-php

Documentation

https://developer-prod.sticky.io/?version=latest

Example Usage

$limelightCRM = new LimeLightCRM([
    'base_url' => 'your_url',
    'username' => 'your_username',
    'password' => 'your_password'
]);

$limelightCRM->transaction()->newOrder([
    'firstName'  => 'John',
    'lastName' => 'Doe',
    'email' => 'jdoe@gmail.com'
]);

$limelightCRM->transaction()->newOrderWithProspect([
    'firstName'  => 'John',
    'lastName' => 'Doe',
    'email' => 'jdoe@gmail.com'         
]);

$limelightCRM->membership()->findActiveCampaign();

$limelightCRM->membership()->viewCampaign([
    'campaign_id' => 1     
]);

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.