PHPackages                             imjonos/laravel-yoo-kassa - 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. imjonos/laravel-yoo-kassa

ActiveLibrary[Payment Processing](/categories/payments)

imjonos/laravel-yoo-kassa
=========================

Laravel YooKassa package based on official PHP SDK

1.1(7mo ago)170MITPHPPHP &gt;=8.1

Since Sep 17Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/imjonos/laravel-yoo-kassa)[ Packagist](https://packagist.org/packages/imjonos/laravel-yoo-kassa)[ Docs](https://github.com/imjonos/laravel-yoo-kassa)[ RSS](/packages/imjonos-laravel-yoo-kassa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Laravel Yookassa
================

[](#laravel-yookassa)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5c82a416c554f6ff2f2406209df9463c0c59b01c74381b8e8b3f45967a05910d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696d6a6f6e6f732f6c61726176656c2d796f6f2d6b617373612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imjonos/laravel-yoo-kassa) [![Total Downloads](https://camo.githubusercontent.com/558b5812e4028c7af43a7ca0e2ed6c5a6de735286ab6e0a397e2b74156be44c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696d6a6f6e6f732f6c61726176656c2d796f6f2d6b617373612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/imjonos/laravel-yoo-kassa)

О пакете
--------

[](#о-пакете)

Интеграция Yookassa на основе SDK yoomoney/yookassa-sdk-php.
Предоставляет URL для уведомлений /yookassa/notifications
Возвращает модель платежа Nos\\Yookassa\\Models\\YookassaPayment
Событие о смене статуса Nos\\Yookassa\\Events\\YooKassaPaymentNotification
Привязка к плательщику на стороне приложения.

Установка
---------

[](#установка)

```
composer require imjonos/laravel-yoo-kassa
```

```
php artisan vendor:publish --tag=yookassa.migrations
php artisan migrate
```

Если нужно

```
php artisan vendor:publish --tag=yookassa.config
```

Как использовать
----------------

[](#как-использовать)

Добавить в .env

YOOKASSA\_SHOP\_ID=
YOOKASSA\_API\_KEY=
YOOKASSA\_RETURN\_URL=

```
//Фасад
use Nos\Yookassa\Facades\YookassaFacade;
$yookassaPayment = YookassaFacade::createPayment(10, 'test');

//Сервис
$service = app(Nos\Yookassa\Services\PaymentService::class);
$yookassaPayment = $service->createPayment(10, 'test');
```

```
Класс YookassaPayment
@property string $id
@property string $confirmation_url
@property string $status
@property float $amount
@property string $currency
@property string $description
@property array $metadata
@property int $recipient_account_id
@property int $recipient_gateway_id
@property bool $refundable
@property bool $test
```

Для приема уведомлений нужно добавить URL

[![img.png](img.png)](img.png)

И подписаться на событие Nos\\Yookassa\\Events\\YookassaPaymentNotification

```
namespace App\Providers;
class EventServiceProvider extends ServiceProvider
...
    protected $listen = [
        YookassaPaymentNotification::class => [
        YookassaPaymentStatus::class
    ]
];
...
```

```
namespace App\Listeners;
class YookassaPaymentStatus implements ShouldQueue
...
public function handle(YookassaPaymentNotification $event): void
{
    if ($event->payment->status === PaymentStatus::SUCCEEDED->value) {
    }
}
```

MIT License
===========

[](#mit-license)

Copyright (c) 2023 Eugeny Nosenko

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance62

Regular maintenance activity

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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

Every ~0 days

Total

2

Last Release

238d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a691ecb149ac661add3a6229e3c545aaaa40bad4ae0fa9c0ad9464c79e86ff20?d=identicon)[Eugeny Nosenko](/maintainers/Eugeny%20Nosenko)

---

Top Contributors

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

---

Tags

checkoutkassalaravelphpyooyookassalaravelyookassa

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/imjonos-laravel-yoo-kassa/health.svg)

```
[![Health](https://phpackages.com/badges/imjonos-laravel-yoo-kassa/health.svg)](https://phpackages.com/packages/imjonos-laravel-yoo-kassa)
```

###  Alternatives

[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[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)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)[asciisd/knet

Knet package is provides an expressive, fluent interface to KNet's payment services.

141.1k](/packages/asciisd-knet)

PHPackages © 2026

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