PHPackages                             lakow/safe2pay-laravel - 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. lakow/safe2pay-laravel

ActiveLibrary[Payment Processing](/categories/payments)

lakow/safe2pay-laravel
======================

Component to integrate payment methods through safe2pay platform

1.0.0(6y ago)130MITPHPPHP &gt;=7.0

Since Jul 31Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Safe2Pay
========

[](#safe2pay)

Component to integrate payment methods through Safe2Pay platform

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

[](#installation)

#### Composer

[](#composer)

Start by adding the package to require your composer.json

```
composer require lakow/safe2pay-laravel
```

Having loaded dependencies and installed on your project, we will add ServiceProvider and facade.

ServiceProvider
---------------

[](#serviceprovider)

You need to update your application configuration in order to register the package so it can be loaded by Framework.

To move the Safe2Pay settings file to the Settings folder of your application, simply perform the following command:

```
php artisan vendor:publish
```

or

```
php artisan vendor:publish --provider="Lakow\Safe2Pay\Providers\PaymentServiceProvider"
```

If you have already published the files, but for some reason need to override them, add the flag '--force' at the end of the previous command.

```
php artisan vendor:publish --provider="Lakow\Safe2Pay\Providers\PaymentServiceProvider" --force
```

His `.env` file, add the following values

```
S2P_KEY=authorization_key
S2P_SANDBOX=homologated_true_or_false

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

2477d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3df820c88fdc7a1024a288bb07c115c83c55f1b59004fe7a8e50bf3a593f4910?d=identicon)[lakow](/maintainers/lakow)

---

Tags

laravelpaymentgatewaycheckoutintermediarysafe2paybankslip

### Embed Badge

![Health badge](/badges/lakow-safe2pay-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/lakow-safe2pay-laravel/health.svg)](https://phpackages.com/packages/lakow-safe2pay-laravel)
```

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[evryn/laravel-toman

A simple stable Laravel package to handle popular payment gateways in Iran including ZarinPal and IDPay.

1079.9k](/packages/evryn-laravel-toman)[sostheblack/moip

Laravel Package for Moip.

171.9k](/packages/sostheblack-moip)[dena-a/iran-payment

a Laravel package to handle Internet Payment Gateways for Iran Banking System

312.4k1](/packages/dena-a-iran-payment)

PHPackages © 2026

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