anburocky3/phonepe-laravel

PhonePe Payment Integration for Laravel projects

Installs: 66

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/anburocky3/phonepe-laravel

v0.0.1 2023-11-15 21:14 UTC

This package is auto-updated.

Last update: 2025-10-16 01:17:52 UTC


README

Latest Version on Packagist Total Downloads

Payment Gateway for Laravel Projects

Installation

You can install the package via composer:

composer require anburocky3/phonepe-laravel
  1. Update the env file with your relevant information.
PHONEPE_MERCHANT_ID=
PHONEPE_MERCHANT_USER_ID=
PHONEPE_ENV=
PHONEPE_SALT_KEY=
PHONEPE_SALT_INDEX=
PHONEPE_CALLBACK_URL=
PHONEPE_MERCHANT_TRANSACTION_ID=
  1. Use it like this.
$phonePe = new PhonePe("91987654322", "callback-url");

$phonePe->makePayment(500, "test01"); // '500' is amount, 'test01' is merchantId

Credits

License

The MIT License (MIT). Please see License File for more information.