PHPackages                             websystem/gp-webpay-sdk - 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. websystem/gp-webpay-sdk

ActiveLibrary[Payment Processing](/categories/payments)

websystem/gp-webpay-sdk
=======================

This is my package gp-webpay-sdk

0.1.3(1y ago)012[3 PRs](https://github.com/Martin-1182/laravel-gp-webpay/pulls)MITPHPPHP &gt;=8.2CI passing

Since Feb 1Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Martin-1182/laravel-gp-webpay)[ Packagist](https://packagist.org/packages/websystem/gp-webpay-sdk)[ Docs](https://github.com/websystem/gp-webpay-sdk)[ GitHub Sponsors](https://github.com/Codehub)[ RSS](/packages/websystem-gp-webpay-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (13)Versions (17)Used By (0)

GPWebpay SDK package for Laravel.
=================================

[](#gpwebpay-sdk-package-for-laravel)

This package provides a simple way to integrate GPWebpay payment gateway into Laravel applications.

### Requirements for the package

[](#requirements-for-the-package)

- PHP 8.2 or higher
- Laravel 10 or higher

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

[](#installation)

### Install the package via composer

[](#install-the-package-via-composer)

```
    composer require websystem/gp-webpay-sdk
```

### Publish the configuration file

[](#publish-the-configuration-file)

```
    php artisan vendor:publish --tag=webpay-config
```

### Define environment variables

[](#define-environment-variables)

Save the following environment variables to the `.env` file in the root directory of the project. Locate your keys and certificates in the `storage` directory.

```
GPWEBPAY_PRIVATE_KEY_PATH= # Storage path to the private key
GPWEBPAY_PRIVATE_KEY_PASSWORD= # Password for the private key
GPWEBPAY_PUBLIC_KEY_PATH= # Storage path to the public key
GPWEBPAY_MERCHANT_NUMBER= # Merchant number
GPWEBPAY_URL=https://test.3dsecure.gpwebpay.com/pgw/order.do
GPWEBPAY_ADD_INFO_SCHEMA= # Storage path to the additional info schema
```

### Available methods

[](#available-methods)

#### Create payment

[](#create-payment)

```
use Websystem\Gpwebpay\Enums\Currency;
use Websystem\Gpwebpay\Facades\Gpwebpay;

$paymentData = [
    'orderNumber' => 1001, # Unique order number
    'amount' => 150.50, # Float value
    'currency' => Currency::EUR,
    'depositFlag' => 1,
    'returnUrl' => 'https://example.com/callback',
    'addInfo' => [
        'name' => 'John Doe',
        'email' => 'doe@invelity.com',
    ],
    'addInfoSchemaPath' => config('gpwebpay.add_info_schema'),
];

    $requestUrl = Gpwebpay::createPaymentRequestUrl($paymentData);

    return redirect($requestUrl);
```

Credits
-------

[](#credits)

This library originates from [adamstipak/webpay-php](https://github.com/newPOPE/gp-webpay-php-sdk). I have adapted it into a package for Laravel and made slight code modifications.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance66

Regular maintenance activity

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~1 days

Total

11

Last Release

505d ago

PHP version history (2 changes)0.0.1PHP &gt;=8.1

0.0.4PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/58297666?v=4)[Martin Halaj](/maintainers/Martin-1182)[@Martin-1182](https://github.com/Martin-1182)

---

Top Contributors

[![Martin-1182](https://avatars.githubusercontent.com/u/58297666?v=4)](https://github.com/Martin-1182 "Martin-1182 (50 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")

---

Tags

laravelwebsystemgp-webpay-sdk

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/websystem-gp-webpay-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/websystem-gp-webpay-sdk/health.svg)](https://phpackages.com/packages/websystem-gp-webpay-sdk)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[wnx/laravel-backup-restore

A package to restore database backups made with spatie/laravel-backup.

213420.1k2](/packages/wnx-laravel-backup-restore)

PHPackages © 2026

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