PHPackages                             escapeboy/epay - 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. escapeboy/epay

ActiveLibrary[Payment Processing](/categories/payments)

escapeboy/epay
==============

Epay API Payment Wrapper

1.0.5(10y ago)014MITPHPPHP &gt;=5.3.0

Since Apr 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/escapeboy/laravel-epay)[ Packagist](https://packagist.org/packages/escapeboy/epay)[ Docs](https://github.com/escapeboy/epay)[ RSS](/packages/escapeboy-epay/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Epay API Payment Wrapper Laravel 5.\* Package
---------------------------------------------

[](#epay-api-payment-wrapper-laravel-5-package)

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

[](#installation)

```
"escapeboy/epay": "1.*"
```

### In config/app.php

[](#in-configappphp)

```
Escapeboy\Epay\EpayServiceProvider::class,
```

```
'Epay' => Escapeboy\Epay\EpayServiceProvider::class,
```

Publish config file
-------------------

[](#publish-config-file)

```
php artisan vendor:publish --provider="Escapeboy\Epay\EpayServiceProvider" --tag="config"
```

\--

Usage
-----

[](#usage)

Edit config/epay.php

```
return [
	'submit_url' => 'https://devep2.datamax.bg/ep2/epay2_demo/', // test submit url
	// 'submit_url' => 'https://www.epay.bg/', // production submit url
	'secret' => REQUIRED, // client secret
	'client_id' => REQUIRED, // client id
	'expire_days' => 1 // expire time for transations in days
	'success_url' => 'epay/success', // return url for success
	'cancel_url' => 'epay/cancel', // return url for cancel
];
```

Generate hidden input fields to submit to Epay

```
echo \Epay::generateInputFields([
				'invoice' => '000001', // invoice ID
				'amount' => 100, // amount
				'descr' => 'Some info about order' // info about order
]);
```

Receive epay notification (url is filled in merchant's profile)

```
Route::post('epay/notification', function(){

	$notification_data = \Epay::receiveNotification(request()->all());
		/**
        * $notification_data contains array with data:
        *
        *    array (
        *      'invoice' => 'your_order_id',
        *      'status' => 'PAID',
        *      'pay_date' => '20162304154530',
        *      'stan' => '045138',
        *      'bcode' => '045138'
        *    ),
        *
        **/
	return response()->make($notification_data['response']);
});
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

3674d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65ef8df08f1932ef79020d023bbf1853ae320e4d93061a318bd8e321525d6528?d=identicon)[escapeboy](/maintainers/escapeboy)

---

Top Contributors

[![escapeboy](https://avatars.githubusercontent.com/u/115266?v=4)](https://github.com/escapeboy "escapeboy (3 commits)")

---

Tags

epay

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/escapeboy-epay/health.svg)

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

###  Alternatives

[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)[thehocinesaad/laravel-chargily-epay

Laravel-Chargily-ePay is a Laravel package that provides an easy interface to Chargily ePay gateway

202.1k](/packages/thehocinesaad-laravel-chargily-epay)

PHPackages © 2026

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