PHPackages                             dgeorgiev/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. [API Development](/categories/api)
4. /
5. dgeorgiev/epay

ActiveLibrary[API Development](/categories/api)

dgeorgiev/epay
==============

Laravel epay.bg api integration

1.0.0(10y ago)7154[5 issues](https://github.com/dgeorgiev/laravel-epay/issues)MITPHPPHP &gt;=5.3.0

Since Dec 4Pushed 10y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel-epay API
================

[](#laravel-epay-api)

Laravel wrapper for the Epay.bg API. Working with laravel 5.1

Install
-------

[](#install)

Via Composer

```
$ composer require dgeorgiev/epay
```

- Add the service provider to your $providers array in config/app.php file like:

```
Dgeorgiev\Epay\EpayServiceProvider::class

```

- Add the alias to your $aliases array in config/app.php file like:

```
Epay' => Dgeorgiev\Epay\Facades\Epay::class

```

- Run the following command to publish configuration:

```
php artisan vendor:publish

```

Usage
-----

[](#usage)

```
    $invoice     = sprintf("%.0f", rand(1, 50) * 105);
    $amount      = '22,80';
    $expiration  = '01.08.2020';
    $description = 'Test';

    Epay::setData(
        $invoice,
        $amount,
        $expiration,
        $description
    );
```

### Notification receive route (POST)

[](#notification-receive-route-post)

```
    Route::post('receive', function(){

        $receiver = Epay::receiveNotification(Request::all());

        /**
        * Update order or status of payment
        *
        *    array (
        *      'invoice' => '1890',
        *      'status' => 'PAID',
        *      'pay_date' => '20151204143730',
        *      'stan' => '036257',
        *      'bcode' => '036257',
        *    ),
        *
        **/
        foreach($receiver['items'] as $item){
            Log::info($item);
            Log::info($item['status']);
            Log::info($item['invoice']);
        }

        return $receiver['response'];

    });
```

### Form in view

[](#form-in-view)

```

        {!! Epay::generateHiddenInputs() !!}

        // your code here

        Изпрати

```

Support
-------

[](#support)

This package only supports Laravel 5 &amp; Laravel 5.1 at the moment.

- In case of any issues, kindly create one on the Issues section.
- If you would like to contribute:
    - Fork this repository.
    - Implement your features.
    - Generate pull request.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

[epay.bg demo packages](https://demo.epay.bg/)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance6

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3861d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1280694?v=4)[Daniel Georgiev](/maintainers/dgeorgiev)[@dgeorgiev](https://github.com/dgeorgiev)

---

Top Contributors

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

---

Tags

epaylaravel epay

### Embed Badge

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

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

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[rapidez/core

Rapidez Core

1822.4k66](/packages/rapidez-core)

PHPackages © 2026

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