PHPackages                             lakshmajim/payubiz - 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. lakshmajim/payubiz

ActiveLibrary[Payment Processing](/categories/payments)

lakshmajim/payubiz
==================

payubiz

1.0.3(8y ago)2931MITPHPCI failing

Since Dec 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lakshmaji/payubiz)[ Packagist](https://packagist.org/packages/lakshmajim/payubiz)[ RSS](/packages/lakshmajim-payubiz/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

PayUbiz
=======

[](#payubiz)

> ### What it is
>
> [](#what-it-is)

- Integrates the PayUbiz services with Laravel application.

> ### Version
>
> [](#version)

1.0.1

---

> ### Installation
>
> [](#installation)

- This package is available on packagist and we can simply download it by issuing the following command on terminal within the project root directory.

```
    composer require lakshmaji/payubiz
```

- Add the Service Provider to **providers** array

```
        Lakshmaji\PayUbiz\PayUbizServiceProvider::class,
```

- Add the Facade to **aliases** array

```
        'PayUbiz' => Lakshmaji\PayUbiz\Facade\PayUbiz::class,
```

- Try updating the application with composer (dependencies)

```
  composer update
```

- Publish configuration files

```
   php artisan vendor:publish
```

- Populate config/payubiz.php with credentials and enable production mode.

```
return [

    /*
    |--------------------------------------------------------------------------
    | PayUbiz Authentication Secret
    |--------------------------------------------------------------------------
    |
    | Don't forget to set this.
    |
    */

    'merchant_id' => 'gtSsEw',

    'secret_key'  => 'eRyshYFb',

    'test_mode'   => true
];
```

---

> ### Integrating PayUbiz services with the application
>
> [](#integrating-payubiz-services-with-the-application)

The following example illustrates the usage of PayUbiz package

```
