PHPackages                             daw/nicepay - 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. daw/nicepay

ActiveLibrary[Payment Processing](/categories/payments)

daw/nicepay
===========

Payment gateway Nicepay

015PHP

Since Sep 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/daewu14/nicepay-lrvl)[ Packagist](https://packagist.org/packages/daw/nicepay)[ RSS](/packages/daw-nicepay/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Payment Gateway Nicepay
-------------------------------

[](#laravel-payment-gateway-nicepay)

Penggunaan
----------

[](#penggunaan)

```
composer require daw/nicepay

```

Instansiasi
-----------

[](#instansiasi)

Buat 1 class PgNicepay.php =&gt; tempelkan kode dibawah =&gt; Isi kredesial akun Nicepay

```

use Daw\Nicepay\Nicepay;

class PgNicepay {
    use Nicepay{
        Nicepay::__construct as construct;
    }

    public function __construct() {
        $this->construct();

        // Init key
        $MERCHANT_KEY = ""; // Merchant Key
        $MERCHANT_ID = ''; // iMid
        $REQ_DOMAIN = ''; // example.com
        $this->init($MERCHANT_KEY, $MERCHANT_ID, $REQ_DOMAIN);

        // Base URL
        $baseUrlDev = ""; // https://dev.example.com/
        $baseUrlStaging = ""; // https://dev.example.com/
        $baseUrlProd = ""; // https://example.com/
        $this->setBaseUrl($baseUrlProd, $baseUrlDev, $baseUrlStaging);

        // End point callback
        $epcEwallet = ""; // r3dr001/np-cb-ewallet
        $epcDbProcessUrl = ""; // api/v3/member/np-db-process-url
        $epcMerchantPay = ""; // r3dr001/np_payment
        $this->setEndPointCalbackUrl($epcEwallet, $epcDbProcessUrl, $epcMerchantPay);
    }
}

```

Controller mu
-------------

[](#controller-mu)

```

public function test() {
    $pgNicepay = new PgNicepay();
    $npCkStReq                        = $pgNicepay->npCkStatusData();
    $npCkStReq->data['timeStamp']     = '';
    $npCkStReq->data['tXid']          = '';
    $npCkStReq->data['referenceNo']   = '';
    $npCkStReq->data['amt']           = '';
    $npCkStReq->data['merchantToken'] = '';
    return $pgNicepay->npCheckStatus($npCkStReq);
}

```

Enjoy Coding ☕
--------------

[](#enjoy-coding-)

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/daewu)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/50be1be4c6ea6935c7cdfbcfe7e335c4165ef6a69b6a0d633f893a4ebec07529?d=identicon)[daewu14](/maintainers/daewu14)

---

Top Contributors

[![daewu14](https://avatars.githubusercontent.com/u/33786312?v=4)](https://github.com/daewu14 "daewu14 (9 commits)")

### Embed Badge

![Health badge](/badges/daw-nicepay/health.svg)

```
[![Health](https://phpackages.com/badges/daw-nicepay/health.svg)](https://phpackages.com/packages/daw-nicepay)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
