PHPackages                             mydevpro/upayments - 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. mydevpro/upayments

ActiveLibrary[Payment Processing](/categories/payments)

mydevpro/upayments
==================

UPayments integration for laravel 8

1.0.0(1mo ago)033MITPHP

Since Mar 25Pushed 2y ago1 watchersCompare

[ Source](https://git.my-dev.pro/mydev/upayments)[ Packagist](https://packagist.org/packages/mydevpro/upayments)[ RSS](/packages/mydevpro-upayments/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Laravel Upayments
=================

[](#laravel-upayments)

laravel Upayments is a php package written by [MY-Dev | Mohamed Youssef](https://my-dev.pro) with laravel to handle Upayments functionality by making it's api more easy .

Features
--------

[](#features)

- Authorize payment
- Check that payment is success or not
- Refund invoice

Installation Guide
==================

[](#installation-guide)

Composer installation

```
composer require mydevpro/upayments

```

Configuration
-------------

[](#configuration)

Add this line on your config/app.php file providers list

```
Mydevpro\Upayments\PaymentServiceProvider::class,

```

To publish config run

```
php artisan vendor:publish --provider="Mydevpro\Upayments\PaymentServiceProvider" --tag="upayments-config"

```

and modify the config file with your own information. File is located in `/config/upayments.php`

Get Your Credentials From Upayments
-----------------------------------

[](#get-your-credentials-from-upayments)

- Go to [Upayments](https://upay.upayments.com/auth/login/)
- You will get API KEY
- Go to your .env file and paste your credentials to be like this and be sure that you added this value only on APP\_ENV=productoin

```
UPAYMENTS_APIKEY=apikey

```

UPayments will check your application environment if Your APP\_ENV="local" in .env file will use "Sandbox mode" and on APP\_ENV="production" will use "Live payment account"

You are now ready to use the package
------------------------------------

[](#you-are-now-ready-to-use-the-package)

At the controller

```
use Mydevpro\Upayments\Facades\Upayments;

Upayments::authorize(Amount, ISO 3-Letter Currency Code, Order ID);

```

Check payment status

```
Upayments::getPaymentStatus(order_id);

```

Refund payment

```
Upayments::refund(order_id , amount);

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance50

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~723 days

Total

2

Last Release

54d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e68e5e0439f2e97bf4da521c939071ac463f79b175043fcc1d0476297cd20444?d=identicon)[mydevpro](/maintainers/mydevpro)

---

Top Contributors

[![my-dev-pro](https://avatars.githubusercontent.com/u/71203268?v=4)](https://github.com/my-dev-pro "my-dev-pro (1 commits)")

### Embed Badge

![Health badge](/badges/mydevpro-upayments/health.svg)

```
[![Health](https://phpackages.com/badges/mydevpro-upayments/health.svg)](https://phpackages.com/packages/mydevpro-upayments)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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