PHPackages                             ryandadeng/securepay-secureframe - 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. ryandadeng/securepay-secureframe

ActiveLibrary[Payment Processing](/categories/payments)

ryandadeng/securepay-secureframe
================================

SecurePay SecureFrame for Laravel 5

413PHP

Since Aug 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/RyanDaDeng/securepay-secureframe)[ Packagist](https://packagist.org/packages/ryandadeng/securepay-secureframe)[ RSS](/packages/ryandadeng-securepay-secureframe/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

SecurePayFrame
==============

[](#securepayframe)

A SecureFrame solution for SecurePay.

Installation
============

[](#installation)

Add the following line to the require section of composer.json:
---------------------------------------------------------------

[](#add-the-following-line-to-the-require-section-of-composerjson)

```
{
    "require": {
        "ryandadeng/securepay-secureframe": "dev-master"
    }
}
```

Set up for Laravel &lt;= 5.4
----------------------------

[](#set-up-for-laravel--54)

1. In /config/app.php, add the following to providers:

```
Ryandadeng\Securepayframe\SecurePayFrameServiceProvider::class
```

2. run `php artisan vendor:publish --provider="Ryandadeng\Securepayframe\SecurePayFrameServiceProvider"`

Set up for Laravel &gt;= 5.5
----------------------------

[](#set-up-for-laravel--55)

Just run `php artisan vendor:publish --provider="Ryandadeng\Securepayframe\SecurePayFrameServiceProvider"`

Guideline - How to use
----------------------

[](#guideline---how-to-use)

1. Create an implmentation class for SecurePayCustomDataInterface
2. Implement your own custom dynamic data
3. For return URL, please provide your own route url.
4. Create a controller to send and receive data from SecurePay

Example:

```
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Ryandadeng\Securepayframe\Services\SecurePayFactory;

class SecurePayFrameController
{

    // GET - used to populate SecurePay by using SecureFrame
    public function send()
    {
        $send = SecurePayFactory::send(new SecurePaySecurePayCustomData());
        return view('welcome', ['sender' => $send]);
    }

    // POST - This route will be hooked when SecurePay return response. This request should not be accessed publicly which means it should not be have any auth middleware attached.
    public function receive(Request $request)
    {
        // test received data
        $receiver = SecurePayFactory::receive($request->all());

        if ($receiver->fails()) {
            return $receiver->errors();
        } else {
            return 'success';
        }
    }
}
```

5. Register your two routes for send and receive request respectively.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/957c97ad667a07032424eb2eb70cf2db7ad705c62926c23436f9ea4e32dca5b5?d=identicon)[timehunter](/maintainers/timehunter)

---

Top Contributors

[![RyanDaDeng](https://avatars.githubusercontent.com/u/37111049?v=4)](https://github.com/RyanDaDeng "RyanDaDeng (10 commits)")

---

Tags

secureframesecurepay

### Embed Badge

![Health badge](/badges/ryandadeng-securepay-secureframe/health.svg)

```
[![Health](https://phpackages.com/badges/ryandadeng-securepay-secureframe/health.svg)](https://phpackages.com/packages/ryandadeng-securepay-secureframe)
```

###  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)
