Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.29 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.29 KB

XENDIT PHP SDK API EXAMPLE

This library is the abstraction of Xendit API for access from applications written with PHP.


Documentation

For the API documentation, check Xendit API Reference.

Composer Installation

Install composer on your local machine, check https://getcomposer.org

Installing Packages

Before you start to code, run this command to install all of the required packages. Make sure you have composer installed in your computer

composer install

Usage

Configure package with your account's secret key obtained from Xendit Dashboard.

Change Line 18 with your obtained secret key

Xendit::setApiKey('API_KEY HERE');

See example codes for more details.

If you want to see full details about Xendit PHP SDK, check Xendit PHP-SDK