Download the PHP package vendasta/accountgroup without Composer
On this page you can find all versions of the php package vendasta/accountgroup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vendasta/accountgroup
More information about vendasta/accountgroup
Files in vendasta/accountgroup
Package accountgroup
Short Description Vendasta account group library for PHP
License
Informations about the package accountgroup
account-group-php-sdk
Account group php sdk
Description
This is Vendasta's official PHP SDK for API integration of account-groups. This is used to create a business.
Requirements
- PHP 5.5 and above or PHP 7.0 and above
- PECL (may be used to install the required PHP extensions)
- Composer
- PHP gmp extension
- OPTIONAL (but recommended): PHP grpc extension
Installation
Install the requirements from above, then:
Authentication
To authenticate your SDK calls, you must provision a service account from within the Vendasta platform.
This feature is currently in alpha, therefore your service account credentials file will be provided to you manually.
You must put this file on your server, and set an environment variable to it's path:
Client Initialization
It is highly recommended that you use a singleton client instance. Each client initilization will open it's own connection, therefore using a singleton results in reusing a connection, saving time and resources.
Set an environment variable for the production environment:
To instantiate the client:
Notice that the production environment will be set to DEMO if it is not specified.
Creating account groups
All versions of accountgroup with dependencies
guzzlehttp/guzzle Version ^6.3
mdanter/ecc Version ^0.5.0
vendasta/vax Version ^1.2.0
google/protobuf Version ^3.9.2
google/common-protos Version ^1.1