PHPackages                             smukhidev/shurjopay-laravel-package - 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. smukhidev/shurjopay-laravel-package

ActiveLibrary[Payment Processing](/categories/payments)

smukhidev/shurjopay-laravel-package
===================================

13926[2 issues](https://github.com/smukhidev/shurjopay-laravel-package/issues)[1 PRs](https://github.com/smukhidev/shurjopay-laravel-package/pulls)PHP

Since Oct 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/smukhidev/shurjopay-laravel-package)[ Packagist](https://packagist.org/packages/smukhidev/shurjopay-laravel-package)[ RSS](/packages/smukhidev-shurjopay-laravel-package/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

README
======

[](#readme)

### Authorization of the contributor

[](#authorization-of-the-contributor)

- shurjoPay v 1.00 API
- @date: 08 JAN 2021

To integrate the shurjoPay Payment Gateway in your Laravel project do the following tasks sequentially.

Installation and Configuration Go to your project directory and use composer to install this package. Run the following command.

```
composer require  smukhidev/shurjopay-laravel-package

```

After successful installation of shurjopay-laravel-package, go to your project and open config folder and then click on app.php file. Append the following line in providers array.

```
smukhidev\shurjopay-laravel-package\ShurjopayServiceProvider::class,

```

Now in order to publish ShurjopayServiceProvider class and run the following command

```
    php artisan vendor:publish –provider = "smukhidev\ShurjopayLaravelPackage\ShurjopayServiceProvider"

```

It will automatically create a 'shurjopay.php' file in your project config folder

After successfully doing the above steps do the following Modify shurjopay.php file or add the following Keys in .env file with the credentials provided from shurjoMukhi Limited

```
SHURJOPAY_SERVER_URL =
MERCHANT_USERNAME =
MERCHANT_PASSWORD =
MERCHANT_KEY_PREFIX =

```

Implementation Add the following line in the Class or Controller where the functionality will be implemented use smukhidev\\shurjopay-laravel-package\\ShurjopayService;

Now add this line of code in your method where you want to call shurjoPay Payment Gateway. You can use any code segment of below

```
$shurjopay_service = new ShurjopayService();
$tx_id = $shurjopay_service->generateTxId();
$success_route = route('Your route'); //This is your custom route where you want to back after completing the transaction.
$data=array(
	'amount'=>$request->amount,
	'custom1'=>$request->company_name,
	'custom2'=>$request->email,
	'custom3'=>$request->name,
	'custom4'=>$request->number,
	'is_emi'=>0 //0 No EMI 1 EMI active
);
$shurjopay_service->sendPayment($data, $success_route);

```

Note: (Optional) In the sendPayment method you can add as much parameter as you want but if you want to add more parameters in sendPayment method you need to add this parameters in sendPayment method of ShurjopayService.php file which is located in vendor/smukhidev/shurjopay-laravel-package/src

7. Go to successurl .There call a method $shurjopay\_service-&gt;decrypt($request-&gt;spdata); it will return object.

{ "txID": "NOK20210615081852\_100", "bankTxID":"Xid70lopzz", "bankTxStatus": "SUCCESS", "txnAmount": "100", "spCode": "000", "spCodeDes": "Cancel", "custom1": "Shurjomukhi Ltd", "custom2": "", "custom3": "Nazmus Shahadat", "custom4": "01829616787", "paymentOption": "CARD", "paymentTime": "2021-06-16 02:18:51" }

Now Test your application and oversees the response and interaction

Demo Card Infromation:
======================

[](#demo-card-infromation)

Card Number: 1111 1111 1111 1111

EXPIRE DATE: 12/30

cvc: 123

CARD OWNER: TEST

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80.5% 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/3fd059d3ed62fcf5083edf810f8886430fdfebd5649cc2f791de2b691c06654c?d=identicon)[ebssbd](/maintainers/ebssbd)

---

Top Contributors

[![smukhidev](https://avatars.githubusercontent.com/u/75045980?v=4)](https://github.com/smukhidev "smukhidev (33 commits)")[![smukhiasif](https://avatars.githubusercontent.com/u/69634681?v=4)](https://github.com/smukhiasif "smukhiasif (6 commits)")[![smukhishahadat](https://avatars.githubusercontent.com/u/62495642?v=4)](https://github.com/smukhishahadat "smukhishahadat (2 commits)")

### Embed Badge

![Health badge](/badges/smukhidev-shurjopay-laravel-package/health.svg)

```
[![Health](https://phpackages.com/badges/smukhidev-shurjopay-laravel-package/health.svg)](https://phpackages.com/packages/smukhidev-shurjopay-laravel-package)
```

###  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)
