Skip to main content


PHP library is a library that is created on top of PHP in order to make it easier for you to integrate with our supported payment channels.

Xendit currently has 2 versions of PHP libraries:

  • v2 (latest) - Released Feb 21, 2020
  • v1

All upcoming new features are going to be introduced exclusively in v2. If you are in v1, we recommend you to upgrade to v2 to enjoy the latest features.

This is the list of supported products for Xendit PHP v2:

  • Credit / Debit Cards
  • eWallets
  • Cardless Credit
  • Virtual Accounts
  • Retail Outlets
  • Invoices
  • Recurring Payments
  • Payouts
  • Disbursements
  • Batch Disbursements

Meanwhile, Xendit PHP v1 supports:

  • Credit / Debit cards
  • Virtual Accounts
  • Invoices


Xendit PHP v2 is compatible with PHP 7.2 or later.

Xendit PHP v1 is compatible with PHP 5.4 or later.


Check out our PHP library source in Packagist or Github for the complete installation guide.

Was this page helpful?