PHPackages                             vitegroupltd/vitepay-laravel-integrate - 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. vitegroupltd/vitepay-laravel-integrate

ActiveLibrary[Payment Processing](/categories/payments)

vitegroupltd/vitepay-laravel-integrate
======================================

Laravel package for vitepay.dev

1.0.6(1y ago)030MITPHPPHP ^8.1

Since Jul 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vitegroupltd/vitepay-laravel-integrate)[ Packagist](https://packagist.org/packages/vitegroupltd/vitepay-laravel-integrate)[ Docs](https://github.com/vitegroupltd/vitepay-laravel-integrate)[ RSS](/packages/vitegroupltd-vitepay-laravel-integrate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

vitepay.dev Laravel
===================

[](#vitepaydev-laravel)

The free Laravel package to help you integrate with vitepay.dev

Use Cases
---------

[](#use-cases)

- Create and manage software with vitepay.dev
- Manage devices with vitepay.dev
- Create and manage licenses with vitepay.dev

Features
--------

[](#features)

- Dynamic vitepay.dev credentials from config/vitepay.php
- Easy to manage your software licenses with a few lines of coding

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

[](#requirements)

- **PHP**: 8.1 or higher
- **Laravel** 9.0 or higher

Quick Start
-----------

[](#quick-start)

If you prefer to install this package into your own Laravel application, please follow the installation steps below

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

[](#installation)

#### Step 1. Install a Laravel project if you don't have one already

[](#step-1-install-a-laravel-project-if-you-dont-have-one-already)

#### Step 2. Require the current package using composer:

[](#step-2-require-the-current-package-using-composer)

```
composer require vitegroupltd/vitepay-laravel-integrate
```

#### Step 3. Publish the controller file and config file

[](#step-3-publish-the-controller-file-and-config-file)

```
php artisan vendor:publish --provider="ViteGroup\VitePay\VitePayServiceProvider" --tag="vitepay"
```

If publishing files fails, please create corresponding files at the path `config/vitepay.php` and `app\Http\Controllers\VitePayControllers.php` from this package. And you can also further customize the VitePayControllers.php file to suit your project.

#### Step 4. Update the various config settings in the published config file:

[](#step-4-update-the-various-config-settings-in-the-published-config-file)

After publishing the package assets a configuration file will be located at `config/vitepay.php`. Please find in vitepay.dev to get those values to fill into the config file.

#### Step 5. Add middleware protection:

[](#step-5-add-middleware-protection)

###### app/Http/Kernel.php

[](#apphttpkernelphp)

```
