PHPackages                             vikaswalia/laravel-gopay - 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. vikaswalia/laravel-gopay

ActiveLibrary[Payment Processing](/categories/payments)

vikaswalia/laravel-gopay
========================

GoPay SDK for Laravel

v2.0.2(1y ago)07MITPHPPHP ^8.2

Since Feb 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vikaswalia/laravel-gopay)[ Packagist](https://packagist.org/packages/vikaswalia/laravel-gopay)[ RSS](/packages/vikaswalia-laravel-gopay/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (5)Used By (0)

GoPay SDK for Laravel
=====================

[](#gopay-sdk-for-laravel)

- [GoPay SDK for Laravel](#gopay-sdk-for-laravel)
    - [Requirements](#requirements)
    - [Installation](#installation)
        - [Step 1: Install package](#step-1-install-package)
        - [Step 2: Configuration](#step-2-configuration)
    - [Features](#features)
        - [Languages](#languages)
        - [Scopes](#scopes)
        - [Events](#events)
    - [Usage/Examples](#usageexamples)
        - [Facade GoPaySDK](#facade-gopaysdk)
        - [Check Payment State](#check-payment-state)
    - [License](#license)

Requirements
------------

[](#requirements)

The GoPay SDK for Laravel package requires PHP 8.0+, Laravel 8+.

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

[](#installation)

### Step 1: Install package

[](#step-1-install-package)

Add the package in your composer.json by executing the command:

```
composer require vikaswalia/laravel-gopay

```

This command installs the package into the vendor/ directory.

### Step 2: Configuration

[](#step-2-configuration)

You can initialise config file by running command:

```
php artisan vendor:publish --provider="Vikaswalia\LaravelGoPay\Providers\GoPayServiceProvider" --tag="config"

```

Next, you can see newly created file located in `config` folder - `gopay.php`.

By default, the config file looks like this

```
