PHPackages                             flirtnet/segpay-payment - 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. flirtnet/segpay-payment

ActiveLibrary[Payment Processing](/categories/payments)

flirtnet/segpay-payment
=======================

A segpay payment package to integrate into application

00PHP

Since Jun 12Pushed 2y agoCompare

[ Source](https://github.com/Flirtnet/segpay-payments)[ Packagist](https://packagist.org/packages/flirtnet/segpay-payment)[ RSS](/packages/flirtnet-segpay-payment/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Segpay payment package
======================

[](#segpay-payment-package)

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

[](#installation)

You can install the package via composer:

```
composer require stojankukrika/segpay-payment
```

If you are using Laravel in a version &lt; 5.5, the service provider must be registered as a next step:

```
// config/app.php
'providers' => [
    ...
   stojankukrika\SegpayPayment\SegpayPaymentServiceProvider
];
```

After that run migration to make payment table to log payments

```
$ php artisan migrate
```

#### Configuration

[](#configuration)

Add in your .env file variables:

```
- SEGPAY_PACKAGE
- SEGPAY_USER_ID
- SEGPAY_USER_ACCESS_KEY
- SEGPAY_URL_ID

```

set it values from mp.segpay.com and publish this provider using:

```
$ php artisan vendor:publish --provider=stojankukrika\SegpayPayment\SegpayPaymentServiceProvider
```

#### Important note

[](#important-note)

- Before testing Payment API do not forget to to your account need to be approved from segpay
- Test valid card '4444333322221111' with any expiration date and ccv
- Test declined card '4444444444445555' with any expiration date and ccv

\###Usage Firstable you initialize SegpayPayment class then call some method, like this:

```
$segpay = new SegpayPayment();
$response = $segpay->generateSignupPaymentPage($param1, $param2....);

```

you need to redirect user to response page, and when customer pay, you will get payment notification (segpay send it to your payment page - define it in responses in Merchant panel).

Here is list fo methods: [Segpay apiFunctionList](APIFunctionList.md).

Changelog
---------

[](#changelog)

- 1.0 - initial version

License
-------

[](#license)

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

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 77.8% 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/3212418d86a08ab76e40af4f98beba20f8b4e97a3deb82884457bfb88aaa82b7?d=identicon)[flirtnet](/maintainers/flirtnet)

---

Top Contributors

[![stojankukrika](https://avatars.githubusercontent.com/u/10199584?v=4)](https://github.com/stojankukrika "stojankukrika (7 commits)")[![Flirtnet](https://avatars.githubusercontent.com/u/32797736?v=4)](https://github.com/Flirtnet "Flirtnet (2 commits)")

### Embed Badge

![Health badge](/badges/flirtnet-segpay-payment/health.svg)

```
[![Health](https://phpackages.com/badges/flirtnet-segpay-payment/health.svg)](https://phpackages.com/packages/flirtnet-segpay-payment)
```

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18579.5k1](/packages/omnipay-coinbase)[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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