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

ActiveLibrary

stojankukrika/segpay-payment
============================

A segpay payment package to integrate into application

1.0(8y ago)54332MITPHP

Since Dec 4Pushed 2y agoCompare

[ Source](https://github.com/stojankukrika/segpay-payments)[ Packagist](https://packagist.org/packages/stojankukrika/segpay-payment)[ RSS](/packages/stojankukrika-segpay-payment/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3081d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79d2b7ee98d72f99645b3c270bcffe40e8176ec39e449127de18075c8fb173bf?d=identicon)[stojankukrika](/maintainers/stojankukrika)

---

Top Contributors

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

---

Tags

laravelpayment-gatewaysegpay-payments

### Embed Badge

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

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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