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

ActiveLibrary

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 1mo 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 1mo ago

READMEChangelog (10)Dependencies (13)Versions (16)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

35

—

LowBetter than 80% of packages

Maintenance69

Regular maintenance activity

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

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

459d ago

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

0.0.4PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b5eb0cbc49192d1bdd67e4e7a49c21e401a1870af1b5ae190eb3f45672c55a0?d=identicon)[Martin-1182](/maintainers/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

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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