Skip to content

idapgroup/helix-api-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helix API Wrapper

Features

Installation

  • Install bundle: composer require idapgroup/helix-api-bundle
  • Add these lines to .env file
#Helix
HELIX_API_URL='https://sandbox-api.helix.q2.com'
HELIX_API_KEY='example1'
HELIX_API_SECRET='example1'
HELIX_API_DEFAULT_CULTURE=en-US

Usage

GET request

public function getProgram(HelixApiService $service): mixed
{
    return $service->helixGetRequest('program/get');
}

POST request

public function createCustomer(HelixApiService $service, array $data): mixed
{
    $data = [
        'firstName' => 'John',
        'lastName' => 'Doe',
        //... Fill data according Helix documentation
    ];

    return $service->helixPostRequest('customer/create', $data);
}

About

Symfony wrapper for Helix API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages