PHPackages                             smiftakhairul/sslcommerz - 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. smiftakhairul/sslcommerz

ActiveLibrary[Payment Processing](/categories/payments)

smiftakhairul/sslcommerz
========================

SSLCommerz Payment Gateway Package for Laravel.

v1.0.2(5y ago)73314MITPHPPHP ^7.3|^8.0

Since Jul 14Pushed 5y ago2 watchersCompare

[ Source](https://github.com/smiftakhairul/sslcommerz)[ Packagist](https://packagist.org/packages/smiftakhairul/sslcommerz)[ RSS](/packages/smiftakhairul-sslcommerz/feed)WikiDiscussions master Synced 4d ago

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

SSLCommerz
==========

[](#sslcommerz)

[SSLCommerz](https://www.sslcommerz.com/) is the first payment gateway in Bangladesh opening doors for merchants to receive payments on the internet via their online stores.

Official documentation [here](https://developer.sslcommerz.com/).

Installation
------------

[](#installation)

```
$ composer require smiftakhairul/sslcommerz
```

Vendor
------

[](#vendor)

```
$ php artisan vendor:publish --provider="SSLCZ\SSLCommerz\SSLCommerzServiceProvider"
```

A file `sslcommerz.php` will be added to `config` directory after running above command. We need to setup our configuration to `.env` file as follows:

```
STORE_ID="your-store-id"
STORE_PASSWORD="your-store-password"
IS_PRODUCTION=false
```

For deveopment mode we need to set `IS_PRODUCTION=false`, and for production mode `IS_PRODUCTION=true`. Please go through the official [docs](https://developer.sslcommerz.com/) of SSLCommerz for further information.

Usage
-----

[](#usage)

#### *Initiate a payment*

[](#initiate-a-payment)

```
$sslcommerz = new SSLCommerz();
$sslcommerz->setPaymentDisplayType('hosted'); // enum('hosted', 'checkout')
$sslcommerz->setPrimaryInformation([
    'total_amount' => 1000,
    'currency' => 'BDT',
]);
$sslcommerz->setTranId('your-transaction-id'); // set your transaction id here
$sslcommerz->setSuccessUrl('http://www.example.com/success');
$sslcommerz->setFailUrl('http://www.example.com/fail');
$sslcommerz->setCancelUrl('http://www.example.com/cancel');
$sslcommerz->setCustomerInformation([
    'cus_name' => 'John Doe',
    'cus_email' => 'john.doe@yahoo.com',
    'cus_add1' => 'Dhaka',
    'cus_add2' => 'Dhaka',
    'cus_city' => 'Dhaka',
    'cus_state' => 'Dhaka',
    'cus_postcode' => '1000',
    'cus_country' => 'Bangladesh',
    'cus_phone' => '+880**********',
]);
$sslcommerz->setShipmentInformation([
    'ship_name' => 'Store Test',
    'ship_add1' => 'Dhaka',
    'ship_add2' => 'Dhaka',
    'ship_city' => 'Dhaka',
    'ship_state' => 'Dhaka',
    'ship_postcode' => '1000',
    'ship_country' => 'Bangladesh',
    'shipping_method' => 'NO',
]);
$sslcommerz->setAdditionalInformation([
    'value_a' => 'CPT-112-A',
    'value_b' => 'CPT-112-B',
    'value_c' => 'CPT-112-C',
    'value_d' => 'CPT-112-D',
]);
$sslcommerz->setEmiOption(1); // enum(1, 0)
$sslcommerz->setProductInformation([
    'product_name' => 'Computer',
    'product_category' => 'Goods',
    'product_profile' => 'physical-goods',
]);
$sslcommerz->setCart([
    ['product' => 'Product X', 'amount' => '2000.00'],
    ['product' => 'Product Y', 'amount' => '4000.00'],
    ['product' => 'Product Z', 'amount' => '8000.00'],
]);
$sslcommerz->setProductAmount('1000');
$sslcommerz->setVat('100');
$sslcommerz->setDiscountAmount('0');
$sslcommerz->setConvenienceFee('50');

$response = $sslcommerz->initPayment($sslcommerz);
```

#### *Set store information dynamically*

[](#set-store-information-dynamically)

```
$sslcommerz = new SSLCommerz([
    'store_id' => 'your-store-id',
    'store_password' => 'your-store-password',
    'is_production' => false
]);
```

#### *Response*

[](#response)

> You will get a response after initiating a payment by which you can deal with. You can see a sample response format in the official documentation.

### Hosted Payment Integration

[](#hosted-payment-integration)

```
// Controller
$sslcommerz = new SSLCommerz();
$sslcommerz->setPaymentDisplayType('hosted');
// ---

$response = $sslcommerz->initPayment($sslcommerz);
return redirect($response['GatewayPageURL']); // redirect to gateway page url
```

### Easy Checkout Integration

[](#easy-checkout-integration)

```
// View(js) - Step 1
(function (window, document) {
    var loader = function () {
        var script = document.createElement("script"), tag = document.getElementsByTagName("script")[0];
        script.src = "{{ 'Sandbox or Live(Production) Script' }}" + Math.random().toString(36).substring(7);
        tag.parentNode.insertBefore(script, tag);
    };

    window.addEventListener ? window.addEventListener("load", loader, false) : window.attachEvent("onload", loader);
})(window, document);

/*
Sandbox Script URL: https://sandbox.sslcommerz.com/embed.min.js?
Live or Production Script URL: https://seamless-epay.sslcommerz.com/embed.min.js?
 */
```

```

 Pay Now

```

```
// Controller
$sslcommerz = new SSLCommerz();
$sslcommerz->setPaymentDisplayType('checkout');
// ---

$response = $sslcommerz->initPayment($sslcommerz);
echo $sslcommerz->formatCheckoutResponse($response); // show easycheckout pay popup
```

### Disable CSRF Protection

[](#disable-csrf-protection)

Disable `CSRF` protection for the following URL's.

- `init-payment-via-ajax` url
- `success` url
- `fail` url
- `cancel` url
- `ipn` url

Disable them from `VerifyCsrfToken` middleware.

```
// VerifyCsrfToken.php
protected $except = [
    '/init-payment-via-ajax',
    '/success',
    '/cancel',
    '/fail',
    '/ipn'
];
```

### Order Validation

[](#order-validation)

```
$sslcommerz = new SSLCommerz();
$response = $sslcommerz->orderValidate([
    'val_id' => $request->input('val_id'),
    'store_id' => 'your-store-id', // Optional: by default `$sslcommerz->getStoreId()`
    'store_password' => 'your-store-password', // Optional: by default `$sslcommerz->getStorePassword()`
    'v' => '1', // Optional: by default `1`
    'format' => 'json' // Optional: by default `json`
]);
```

### Transaction Query

[](#transaction-query)

```
$sslcommerz = new SSLCommerz();

// by Transaction Id
$response = $sslcommerz->transactionQueryById([
    'tran_id' => $request->input('tran_id'),
    'store_id' => 'your-store-id', // Optional: by default `$sslcommerz->getStoreId()`
    'store_password' => 'your-store-password', // Optional: by default `$sslcommerz->getStorePassword()`
]);
// by Session Id
$response = $sslcommerz->transactionQueryBySessionId([
    'sessionkey' => 'initiated-session-key',
    'store_id' => 'your-store-id', // Optional: by default `$sslcommerz->getStoreId()`
    'store_password' => 'your-store-password', // Optional: by default `$sslcommerz->getStorePassword()`
]);
```

### Refund

[](#refund)

```
$sslcommerz = new SSLCommerz();

// Initiate
$response = $sslcommerz->refundPayment([
    'bank_tran_id' => $request->input('bank_tran_id'),
    'store_id' => 'your-store-id', // Optional: by default `$sslcommerz->getStoreId()`
    'store_password' => 'your-store-password', // Optional: by default `$sslcommerz->getStorePassword()`
    'refund_amount' => 1000,
    'refund_remarks' => 'your-refund-remarks',
    'refe_id' => 'your-ref-id', // Optional
    'format' => 'json', // Optional: by default `json`
]);
// Status
$response = $sslcommerz->refundStatus([
    'refund_ref_id' => 'refund-ref-id',
    'store_id' => 'your-store-id', // Optional: by default `$sslcommerz->getStoreId()`
    'store_password' => 'your-store-password', // Optional: by default `$sslcommerz->getStorePassword()`
]);
```

Available Env's &amp; API's
---------------------------

[](#available-envs--apis)

***Environments:*** `getApiEnvironment()`

- **sandbox** (`IS_PRODUCTION` false)
- **production** (`IS_PRODUCTION` true)

***Domains:*** `getApiDomain()`

- **sandbox** ()
- **production** ()

***APIs:***

- `getApiUrl()` (\[api\_domain\]/gwprocess/v4/api.php)
- `getOrderValidateApiUrl()` (\[api\_domain\]/validator/api/validationserverAPI.php)
- `getTransactionStatusApiUrl()` (\[api\_domain\]/validator/api/merchantTransIDvalidationAPI.php)
- `getRefundPaymentApiUrl()` (\[api\_domain\]/validator/api/merchantTransIDvalidationAPI.php)
- `getRefundStatusApiUrl()` (\[api\_domain\]/validator/api/merchantTransIDvalidationAPI.php)

Available Methods
-----------------

[](#available-methods)

##### Environment &amp; domain related configuration:

[](#environment--domain-related-configuration)

   Method Name Param Info Description     `getApiEnvironment()`  API environment: **sandbox** or **production**.   `setApiEnvironment()` `string` Set API environment: **sandbox** or **production** only.   `getApiDomain()`  API domain: for example

or
    `isProductionMode()`  Get **production\_mode**.   `setProductionMode()` `boolean` Set **production\_mode**. By default, **production\_mode** sets by `IS_PRODUCTION` value.  ##### API url configuration:

[](#api-url-configuration)

   Method Name Param Info Description     `getApiUrl()`  Get payment initiate api url.   `setApiUrl()` `string` Set payment initiate api url. By default, api url sets based on `IS_PRODUCTION` value. If `IS_PRODUCTION = true`, live api url will be set and for `IS_PRODUCTION = false` sandbox api url will be set.   `getTransactionStatusApiUrl()`  Get transaction status api url.   `setTransactionStatusApiUrl()` `string` Set transaction status api url.   `getOrderValidateApiUrl()`  Get order validation api url.   `setOrderValidateApiUrl()` `string` Set order validation api url.   `getRefundPaymentApiUrl()`  Get refund payment api url.   `setRefundPaymentApiUrl()` `string` Set refund payment api url.   `getRefundStatusApiUrl()`  Get refund status api url.   `setRefundStatusApiUrl()` `string` Set refund status api url.  #### Set information as a compact:

[](#set-information-as-a-compact)

   Method Name Param Info Description     `getPrimaryInformation()`   Get primary information such as:
  **store\_id**, **store\_passwd**, **total\_amount**, **currency**, **tran\_id**, **success\_url**, **fail\_url**, **cancel\_url** and other optional information.     `setPrimaryInformation()` `array()`  Set primary information.

 Required parameter key elements: - **store\_id**
- **store\_passwd**
- **total\_amount**
- **currency**
- **tran\_id**
- **success\_url**
- **fail\_url**
- **cancel\_url**

 Optional parameter key elements: - **ipn\_url**
- **multi\_card\_name**
- **allowed\_bin**

    `getCustomerInformation()`   Get customer information such as:
  **cus\_name**, **cus\_email**, **cus\_add1**, **cus\_add2**, **cus\_city**, **cus\_postcode**, **cus\_country**, **cus\_phone** and other optional information.     `setCustomerInformation()` `array()`  Set customer information.

 Required parameter key elements: - **cus\_name**
- **cus\_email**
- **cus\_add1**
- **cus\_add2**
- **cus\_city**
- **cus\_postcode**
- **cus\_country**
- **cus\_phone**

 Optional parameter key elements: - **cus\_state**
- **cus\_fax**

    `getProductInformation()`   Get product information such as:
  **product\_name**, **product\_category**, **product\_profile** and other optional information.     `setProductInformation()` `array()`  Set product information.

 Required parameter key elements: - **product\_name**
- **product\_category**
- **product\_profile**

 Optional parameter key elements: - **cart**
- **product\_amount**
- **vat**
- **discount\_amount**
- **convenience\_fee**
- **hours\_till\_departure**
- **flight\_type**
- **pnr**
- **journey\_from\_to**
- **third\_party\_booking**
- **hotel\_name**
- **length\_of\_stay**
- **check\_in\_time**
- **hotel\_city**
- **product\_type**
- **topup\_number**
- **country\_topup**

    `getShipmentInformation()`   Get shipment information such as:
  **shipping\_method**, **num\_of\_item** and other optional information.     `setShipmentInformation()` `array()`  Set shipment information.

 Required parameter key elements: - **shipping\_method**
- **num\_of\_item**

 Optional parameter key elements: - **ship\_name**
- **ship\_add1**
- **ship\_add2**
- **ship\_state**
- **ship\_city**
- **ship\_postcode**
- **ship\_country**

    `getEmiInformation()`   Get EMI information such as:
  **emi\_option** and other optional information.     `setEmiInformation()` `array()`  Set EMI information.

 Required parameter key elements: - **emi\_option**

 Optional parameter key elements: - **emi\_max\_inst\_option**
- **emi\_selected\_inst**
- **emi\_allow\_only**

    `getAdditionalInformation()`   Get additional information such as:
  **value\_a**, **value\_b**, **value\_c**, **value\_d**.     `setAdditionalInformation()` `array()`  Set additional information.

 Optional parameter key elements: - **value\_a**
- **value\_b**
- **value\_c**
- **value\_d**

   ##### Other getters and setters:

[](#other-getters-and-setters)

   Method Name Param Info Description     `getPaymentDisplayType()`  Get payment display type.   `setPaymentDisplayType()`**\*** `enum('hosted', 'checkout')` Set payment display type. Default value is **checkout**.   `getStoreId()`  Get SSLCommerz **store\_id**.   `setStoreId()`**\*** `string` Set SSLCommerz **store\_id**. Default value sets by `STORE_ID` value.   `getStorePassword()`  Get SSLCommerz **store\_passwd**.   `setStorePassword()`**\*** `string` Set SSLCommerz **store\_passwd**. Default value sets by `STORE_PASSWORD` value.   `getTotalAmount()`  Get **total\_amount** of transaction.   `setTotalAmount()`**\*** `decimal` Set **total\_amount** of transaction. The transaction amount must be from **10.00 BDT** to **500000.00 BDT**   `getCurrency()`  Get **currency** type. Example: BDT, USD, EUR, SGD, INR, MYR, etc   `setCurrency()`**\*** `string` Set **currency** type.   `getTranId()`  Get unique **tran\_id** to identify order.   `setTranId()`**\*** `string` Set **tran\_id** to unify your order.   `getSuccessUrl()`  Get callback **success\_url**.   `setSuccessUrl()`**\*** `string` Set callback **success\_url** where user will redirect after successful payment.   `getFailUrl()`  Get callback **fail\_url**.   `setFailUrl()`**\*** `string` Set callback **fail\_url** where user will redirect after any failure occurs during payment.   `getCancelUrl()`  Get callback **cancel\_url**.   `setCancelUrl()`**\*** `string` Set callback **cancel\_url** where user will redirect if user cancels the transaction.   `getIpnUrl()`  Get Instant Payment Notification **ipn\_url**.   `setIpnUrl()` `string` Set **ipn\_url**. Enable instant payment notification option so that SSLCommerz can send the transaction's status to ipn\_url.   `getMultiCardName()`  Get **multi\_card\_name**.   `setMultiCardName()` `string` Set **multi\_card\_name**. Use it only if gateway list needs to be customized.   `getAllowedBin()`  Get **allowed\_bin**.   `setAllowedBin()` `string` Set **allowed\_bin**. Use it only if transaction needs to be controlled.   `getCustomerName()`  Get **cus\_name**.   `setCustomerName()`**\*** `string` Set **cus\_name**.   `getCustomerEmail()`  Get **cus\_email**.   `setCustomerEmail()`**\*** `string` Set **cus\_email**.   `getCustomerAddress1()`  Get **cus\_add1**.   `setCustomerAddress1()`**\*** `string` Set **cus\_add1**.   `getCustomerAddress2()`  Get **cus\_add2**.   `setCustomerAddress2()` `string` Set **cus\_add2**.   `getCustomerCity()`  Get **cus\_city**.   `setCustomerCity()`**\*** `string` Set **cus\_city**.   `getCustomerState()`  Get **cus\_state**.   `setCustomerState()` `string` Set **cus\_state**.   `getCustomerPostCode()`  Get **cus\_postcode**.   `setCustomerPostCode()`**\*** `string` Set **cus\_postcode**.   `getCustomerCountry()`  Get **cus\_country**.   `setCustomerCountry()`**\*** `string` Set **cus\_country**.   `getCustomerPhone()`  Get **cus\_phone**.   `setCustomerPhone()`**\*** `string` Set **cus\_phone**.   `getCustomerFax()`  Get **cus\_fax**.   `setCustomerFax()` `string` Set **cus\_fax**.   `getProductName()`  Get **product\_name**.   `setProductName()`**\*** `string` Set **product\_name**.   `getProductCategory()`  Get **product\_category**.   `setProductCategory()`**\*** `string` Set **product\_category**.   `getProductProfile()`  Get **product\_profile**.   `setProductProfile()`**\*** `string` Set **product\_profile**.

Available keys: 1. general
2. physical-goods
3. non-physical-goods
4. airline-tickets
5. travel-vertical
6. telecom-vertical

    `getProductHoursTillDeparture()`  Get **hours\_till\_departure**.   `setProductHoursTillDeparture()`**\*\*** `string` Set **hours\_till\_departure**. **Required** if `product_profile` is **airline-tickets**.   `getProductFlightType()`  Get **flight\_type**.   `setProductFlightType()`**\*\*** `string` Set **flight\_type**. **Required** if `product_profile` is **airline-tickets**.   `getProductPnr()`  Get **pnr**.   `setProductPnr()`**\*\*** `string` Set **pnr**. **Required** if `product_profile` is **airline-tickets**.   `getProductJourneyFromTo()`  Get **journey\_from\_to**.   `setProductJourneyFromTo()`**\*\*** `string` Set **journey\_from\_to**. **Required** if `product_profile` is **airline-tickets**.   `getProductThirdPartyBooking()`  Get **third\_party\_booking**.   `setProductThirdPartyBooking()`**\*\*** `string` Set **third\_party\_booking**. **Required** if `product_profile` is **airline-tickets**.   `getProductHotelName()`  Get **hotel\_name**.   `setProductHotelName()`**\*\*** `string` Set **hotel\_name**. **Required** if `product_profile` is **travel-vertical**.   `getProductLengthOfStay()`  Get **length\_of\_stay**.   `setProductLengthOfStay()`**\*\*** `string` Set **length\_of\_stay**. **Required** if `product_profile` is **travel-vertical**.   `getProductCheckInTime()`  Get **check\_in\_time**.   `setProductCheckInTime()`**\*\*** `string` Set **check\_in\_time**. **Required** if `product_profile` is **travel-vertical**.   `getProductHotelCity()`  Get **hotel\_city**.   `setProductHotelCity()`**\*\*** `string` Set **hotel\_city**. **Required** if `product_profile` is **travel-vertical**.   `getProductType()`  Get **product\_type**.   `setProductType()`**\*\*** `string` Set **product\_type**. **Required** if `product_profile` is **telecom-vertical**.   `getProductTopUpNumber()`  Get **topup\_number**.   `setProductTopUpNumber()`**\*\*** `string` Set **topup\_number**. **Required** if `product_profile` is **telecom-vertical**.   `getProductCountryTopUp()`  Get **country\_topup**.   `setProductCountryTopUp()`**\*\*** `string` Set **country\_topup**. **Required** if `product_profile` is **telecom-vertical**.   `getCart()`  Get **cart**.   `setCart()` `json` Set **cart**. JSON data with two elements. **product**: Max 255 characters, **quantity**: Quantity in numeric value and **amount**: Decimal (12,2).

Example:
`[{"product":"DHK TO BRS AC A1","quantity":"1","amount":"200.00"},{"product":"DHK TO BRS AC A2","quantity":"1","amount":"200.00"},{"product":"DHK TO BRS AC A3","quantity":"1","amount":"200.00"},{"product":"DHK TO BRS AC A4","quantity":"2","amount":"200.00"}]`   `getProductAmount()`  Get **product\_amount**.   `setProductAmount()` `decimal` Set **product\_amount**.   `getVat()`  Get **vat**.   `setVat()` `decimal` Set **vat**.   `getDiscountAmount()`  Get **discount\_amount**.   `setDiscountAmount()` `decimal` Set **discount\_amount**.   `getConvenienceFee()`  Get **convenience\_fee**.   `setConvenienceFee()` `decimal` Set **convenience\_fee**.   `getShippingMethod()`  Get **shipping\_method** of the order.   `setShippingMethod()`**\*** `string` Set **shipping\_method** of the order. Example: YES or NO or Courier.   `getShippingItemNumber()`  Get **num\_of\_item** of product.   `setShippingItemNumber()`**\*** `integer` Set **num\_of\_item** of product will be shipped.   `getShippingName()`  Get **ship\_name** of address.   `setShippingName()`**\*\*** `string` Set **ship\_name** of address. **Required** if `shipping_method` is **YES**.   `getShippingAddress1()`  Get **ship\_add1**.   `setShippingAddress1()`**\*\*** `string` Set **ship\_add1**. **Required** if `shipping_method` is **YES**.   `getShippingAddress2()`  Get **ship\_add2**.   `setShippingAddress2()` `string` Set **ship\_add2**.   `getShippingCity()`  Get **ship\_city**.   `setShippingCity()`**\*\*** `string` Set **ship\_city**. **Required** if `shipping_method` is **YES**.   `getShippingState()`  Get **ship\_state**.   `setShippingState()` `string` Set **ship\_state**.   `getShippingPostCode()`  Get **ship\_postcode**.   `setShippingPostCode()`**\*\*** `string` Set **ship\_postcode**. **Required** if `shipping_method` is **YES**.   `getShippingCountry()`  Get **ship\_country**.   `setShippingCountry()`**\*\*** `string` Set **ship\_country**. **Required** if `shipping_method` is **YES**.   `getEmiOption()`  Get **emi\_option**.   `setEmiOption()`**\*** `integer` Set **emi\_option**. Value must be 1 or 0.   `getEmiMaxInstOption()`  Get **emi\_max\_inst\_option**.   `setEmiMaxInstOption()` `integer` Set **emi\_max\_inst\_option**.   `getEmiSelectedInst()`  Get **emi\_selected\_inst**.   `setEmiSelectedInst()` `integer` Set **emi\_selected\_inst**.   `getEmiAllowOnly()`  Get **emi\_allow\_only**.   `setEmiAllowOnly()` `integer` Set **emi\_allow\_only**. Value must be 1 or 0. This parameter depends on **emi\_option** and **emi\_selected\_inst**   `getAdditionalValueA()`  Get **value\_a**.   `setAdditionalValueA()` `string` Set **value\_a**.   `getAdditionalValueB()`  Get **value\_b**.   `setAdditionalValueB()` `string` Set **value\_b**.   `getAdditionalValueC()`  Get **value\_c**.   `setAdditionalValueC()` `string` Set **value\_c**.   `getAdditionalValueD()`  Get **value\_d**.   `setAdditionalValueD()` `string` Set **value\_d**.  `*` = **Required** and `**` = **Dependently Required**.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~87 days

Total

3

Last Release

1957d ago

PHP version history (2 changes)v1.0.0PHP ^7.2.5

v1.0.2PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22931940?v=4)[S M Iftakhairul](/maintainers/smiftakhairul)[@smiftakhairul](https://github.com/smiftakhairul)

---

Top Contributors

[![smiftakhairul](https://avatars.githubusercontent.com/u/22931940?v=4)](https://github.com/smiftakhairul "smiftakhairul (43 commits)")

---

Tags

payment-gatewaysslcommerzsslcommerz-paymentsslcommerz-payment-gateway

### Embed Badge

![Health badge](/badges/smiftakhairul-sslcommerz/health.svg)

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

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[evryn/laravel-toman

A simple stable Laravel package to handle popular payment gateways in Iran including ZarinPal and IDPay.

1079.9k](/packages/evryn-laravel-toman)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[tsaiyihua/laravel-linepay

linepay library for laravel

102.9k](/packages/tsaiyihua-laravel-linepay)[digikraaft/laravel-paystack-webhooks

Handle Paystack webhooks in a Laravel application

177.5k1](/packages/digikraaft-laravel-paystack-webhooks)[wandesnet/mercadopago-laravel

PHP SDK for integration with Mercado Pago

252.4k](/packages/wandesnet-mercadopago-laravel)

PHPackages © 2026

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