PHPackages                             dwivedianuj9118/phonepe-laravel - 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. dwivedianuj9118/phonepe-laravel

ActiveLibrary[Payment Processing](/categories/payments)

dwivedianuj9118/phonepe-laravel
===============================

Laravel PhonePe Integration- Laravel PhonePe Payment gateway Integration package

01PHP

Since Mar 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dwivedianuj9118/PhonePeLaravel)[ Packagist](https://packagist.org/packages/dwivedianuj9118/phonepe-laravel)[ RSS](/packages/dwivedianuj9118-phonepe-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Package Image](https://camo.githubusercontent.com/1406da2f8119ad1ea2fd2398ee8c266a2c3d08be65ce62e955a0121bccf00c49/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f50686f6e6550652532304c61726176656c2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d64776976656469616e756a3931313825324670686f6e6570652d6c61726176656c267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4c61726176656c2b50686f6e6550652b5061796d656e742b676174657761792b496e746567726174696f6e2b7061636b616765266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470732533412532462532467777772e7068702e6e6574253246696d616765732532466c6f676f732532466e65772d7068702d6c6f676f2e737667)](https://camo.githubusercontent.com/1406da2f8119ad1ea2fd2398ee8c266a2c3d08be65ce62e955a0121bccf00c49/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f50686f6e6550652532304c61726176656c2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d64776976656469616e756a3931313825324670686f6e6570652d6c61726176656c267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4c61726176656c2b50686f6e6550652b5061796d656e742b676174657761792b496e746567726174696f6e2b7061636b616765266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470732533412532462532467777772e7068702e6e6574253246696d616765732532466c6f676f732532466e65772d7068702d6c6f676f2e737667)

PhonePe Laravel Integration (PhonePe Payment Gateway)
=====================================================

[](#phonepe-laravel-integration-phonepe-payment-gateway)

This Laravel package allows you to integrate PhonePe payment on your Laravel Application easily.

Contributing
------------

[](#contributing)

Pull requests are more than welcome. I have created with clean code and developer and begginer user friendly for easy to use and implement also i have tested our code many time its better for use.

If you are using any other payment methods, please create a pull request with your solution, and I will merge it.

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

[](#installation)

```
composer require dwivedianuj9118/phonepe-payment-gateway dev-main
```

Add the required variables in the .env file:

```
APP_ENV="local" //local or production
```

Publish the vendor file for configuration:

```
php artisan vendor:publish --provider="Dwivedianuj9118\PhonePeLaravel\PhonePeLaravelServiceProvider"
```

open phonepe.config file and modify details with local and production environment variable

Usage generate payment link:
----------------------------

[](#usage-generate-payment-link)

Redirect the user to the payment page from your controller:

```
