PHPackages                             otnansirk/laravel-xendit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. otnansirk/laravel-xendit

ActiveLibrary[Payment Processing](/categories/payments)

otnansirk/laravel-xendit
========================

This Laravel wrapper for Xendit Payment API

v1.0.0(1y ago)329MITPHP

Since Feb 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/otnansirk/laravel-xendit)[ Packagist](https://packagist.org/packages/otnansirk/laravel-xendit)[ RSS](/packages/otnansirk-laravel-xendit/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Laravel Xendit
==============

[](#laravel-xendit)

#### This Laravel wrapper/library for Xendit payment gateway.

[](#this-laravel-wrapperlibrary-for-xendit-payment-gateway)

Visit  for more information about the product and see documentation at  for more technical details.

---

Laravel Xendit use the [Xendit PHP SDK](https://packagist.org/packages/xendit/xendit-php)You can also check out the [documentation](https://github.com/xendit/xendit-php/blob/master/README.md) for Xendit PHP SDK.

All URIs are relative to , except if the operation defines another base path.

Installation
============

[](#installation)

#### 1. You can install the package via composer.

[](#1-you-can-install-the-package-via-composer)

```
composer require otnansirk/laravel-xendit
```

#### 2. Optional : The service provider will automatically get registered. Or you may manually.

[](#2-optional--the-service-provider-will-automatically-get-registered-or-you-may-manually)

Add the service provider in your `configs/app.php` or `bootstrap/providers.php` for laravel &gt;= 11

```
'providers' => [
    // ...
    Otnansirk\Xendit\XenditServiceProvider::class,
];
```

#### 3. You should publish the `config/xendit.php` config file with this php artisan command.

[](#3-you-should-publish-the-configxenditphp-config-file-with-this-php-artisan-command)

```
php artisan vendor:publish --provider="Otnansirk\Xendit\XenditServiceProvider"
```

#### 4. To start using the Laravel Xendit, you need to configure the secret key.

[](#4-to-start-using-the-laravel-xendit-you-need-to-configure-the-secret-key)

read the `config/xendit.php` file then fill the credentials needed.

How to Use
==========

[](#how-to-use)

```
