PHPackages                             isurindu/webxpay-laravel - 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. isurindu/webxpay-laravel

ActiveLibrary[Payment Processing](/categories/payments)

isurindu/webxpay-laravel
========================

Webxpay laravel package

v1.4(7y ago)61611MITPHP

Since Jun 29Pushed 7y ago2 watchersCompare

[ Source](https://github.com/isurindu/webxpay-laravel)[ Packagist](https://packagist.org/packages/isurindu/webxpay-laravel)[ RSS](/packages/isurindu-webxpay-laravel/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Webxpay Laravel
===============

[](#webxpay-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/b8d7f6905f3140456fd2bf8bdc27969e001f2af5703825a3e0bc9776555be146/68747470733a2f2f706f7365722e707567782e6f72672f69737572696e64752f776562787061792d6c61726176656c2f762f737461626c65)](https://packagist.org/packages/isurindu/webxpay-laravel)[![Total Downloads](https://camo.githubusercontent.com/3c3b70e263172873dd02c7af636bc4d6bab54090947c9ba6b66cc538b33a2b7e/68747470733a2f2f706f7365722e707567782e6f72672f69737572696e64752f776562787061792d6c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/isurindu/webxpay-laravel)[![License](https://camo.githubusercontent.com/3d3f01cccbf49ad9a29b37e2082bcbb6d445eca577fe2e5f25362a805a4eb01b/68747470733a2f2f706f7365722e707567782e6f72672f69737572696e64752f776562787061792d6c61726176656c2f6c6963656e7365)](https://packagist.org/packages/isurindu/webxpay-laravel)

### Installation

[](#installation)

You can install the package via composer:

```
composer require isurindu/webxpay-laravel
```

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in `config/app.php` file:

```
'providers' => [
    // ...
    Isurindu\WebxpayLaravel\WebxpayServiceProvider::class,
];
```

You can publish config and views

```
php artisan vendor:publish --provider="Isurindu\WebxpayLaravel\WebxpayServiceProvider"
```

Usage
-----

[](#usage)

in route

```
Route::get('payment/{ORDER_ID}', 'PaymentController@index');
Route::post('payment/verify', 'PaymentController@verify');
```

in App/Http/Middleware/VerifyCsrfToken.php

```
