PHPackages                             rene-roscher/paymix - 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. rene-roscher/paymix

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

rene-roscher/paymix
===================

Simplified Payments of many Providers

1.4(5y ago)15MITPHPPHP ^7.1

Since Nov 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Rene-Roscher/paymix)[ Packagist](https://packagist.org/packages/rene-roscher/paymix)[ Docs](https://github.com/rene-roscher/paymix)[ RSS](/packages/rene-roscher-paymix/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (2)Dependencies (4)Versions (6)Used By (0)

Simplified Payments of many Providers | Laravel Package
=======================================================

[](#simplified-payments-of-many-providers--laravel-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/87f673361a81e668244a8eff4bb5c8d81617a310a810908c48d2fb6d988c5e01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72656e652d726f73636865722f7061796d69782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rene-roscher/paymix)[![Quality Score](https://camo.githubusercontent.com/c44c42b656004b9df6def946bcda5c6904dacd3179fb2834ae6e057a26b77286/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72656e652d726f73636865722f7061796d69782e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rene-roscher/paymix)[![Total Downloads](https://camo.githubusercontent.com/f7c8082f1f490186a5a0e9efb8024f4d9ffc1a176a7f422296d0e81a0ee70b2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656e652d726f73636865722f7061796d69782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rene-roscher/paymix)

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

[](#installation)

You can install the package via composer:

```
composer require rene-roscher/paymix
```

Usage
-----

[](#usage)

```
php artisan vendor:publish --provider="RServices\PayMix\PaymixServiceProvider"
```

```
// Create Payment
use

$repo = \RServices\PayMix\PayMix::create('PAYPAL')->getRepository();
or
$repo = \paymix('PAYPAL');

/** @return PaymentRepositoryInterface */
$repo->createTransaction(\RServices\PayMix\Objects\TransactionData::make(14.99, 'Movie XY', \Illuminate\Support\Str::random(6)));
// redirect user to payment provider
$repo->getPaymentUri();
```

```
// Callback
/** @return string|PaymentResponseType */
$state = \RServices\PayMix\PayMix::create()->getRepository()->handleRequest(\request());

if ($state == \RServices\PayMix\Objects\PaymentResponseType::SUCCESSFULLY_PAID)
    return 'successfully paid the movie xy';
```

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

[](#configuration)

```
[
    'paypal' => [
        'live' => [
            'client_id' => env('PAYMIX_PAYPAL_CLIENT_ID'),
            'client_secret' => env('PAYMIX_PAYPAL_CLIENT_SECRET'),
        ],
        'sandbox' => [
            'client_id' => env('PAYMIX_SANDBOX_PAYPAL_CLIENT_ID'),
            'client_secret' => env('PAYMIX_SANDBOX_PAYPAL_CLIENT_SECRET'),
        ],
        'config' => [
            'mode' => 'sandbox',
            'log.LogEnabled' => TRUE,
            'log.FileName' => storage_path('paypal.log'),
            'log.LogLevel' => 'FINE',
            'validation.level' => 'log',
            'cache.enabled' => TRUE,
            'cache.FileName' => storage_path('paypal-cache.log'),
        ],
        'redirect_urls' => [
			// Named-Route
            'return_url' => 'payment.paid.successfully',
            'cancel_url' => 'payment.paid.failured',
        ]
    ],
];
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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 ~0 days

Total

5

Last Release

2010d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fb36e30fba441ae796193c1f181cfba0489c29b2e6721227bbfe4dc8fe29bac?d=identicon)[Rene Roscher](/maintainers/Rene%20Roscher)

---

Top Contributors

[![Rene-Roscher](https://avatars.githubusercontent.com/u/43115138?v=4)](https://github.com/Rene-Roscher "Rene-Roscher (6 commits)")

---

Tags

laravelstripepaypalmollieApple Paygoogle-payamazon payrene-roscherpaymixpayment api client

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rene-roscher-paymix/health.svg)

```
[![Health](https://phpackages.com/badges/rene-roscher-paymix/health.svg)](https://phpackages.com/packages/rene-roscher-paymix)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mollie/laravel-cashier-mollie

Laravel Cashier provides an expressive, fluent interface to Mollie's subscription billing services.

172155.4k1](/packages/mollie-laravel-cashier-mollie)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[tomatophp/filament-payments

Manage your payments inside FilamentPHP app with multi payment gateway integration

542.3k](/packages/tomatophp-filament-payments)

PHPackages © 2026

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