Download the PHP package g2a/integration-api-client without Composer
On this page you can find all versions of the php package g2a/integration-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download g2a/integration-api-client
More information about g2a/integration-api-client
Files in g2a/integration-api-client
Package integration-api-client
Short Description G2A Integration API client
License proprietary
Homepage https://www.g2a.com/integration-api
Informations about the package integration-api-client
PHP client for Integration API of G2A.COM
Client library allows to integrate with G2A.COM Integration API
Web site: https://www.g2a.com/integration-api/
Documentation
Go to https://www.g2a.com/integration-api/documentation/
Requirements
Installation
Package is published on Packagist
Add project dependency:
composer require g2a/integration-api-client
Usage
Creating API client
`
Basic Example
`
See examples
directory for more use cases
Get products
Add an order
Pay for rder
Get order details
Get order key
Sandbox credentials
API Hash: qdaiciDiyMaTjxMt
API Key: 74026b3dc2c6db6a30a73e71cdb138b1e1b5eb7a97ced46689e2d28db1050875
Commands
Code quality
Execute PHPUnit tests
make test
Code style
Requires PHP for CLI installed. Execute in root directory
make csfixer
Run examples
The following command will send example requests to sandbox environment
make run-examples
License
PHP client for Integration API of G2A.COM is released under the MIT license
Support
Contact us on G2A Support Hub