PHPackages                             jackmartin/laravel-popolniclub - 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. jackmartin/laravel-popolniclub

ActiveLibrary[API Development](/categories/api)

jackmartin/laravel-popolniclub
==============================

Laravel package PopolniClub API

1.0(5y ago)075MITPHP

Since Oct 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/martinjack/laravel-popolniclub)[ Packagist](https://packagist.org/packages/jackmartin/laravel-popolniclub)[ Docs](https://github.com/martinjack/laravel-popolniclub)[ RSS](/packages/jackmartin-laravel-popolniclub/feed)WikiDiscussions master Synced yesterday

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

Описание
========

[](#описание)

[![Latest Stable Version](https://camo.githubusercontent.com/f670ae1dfd96f34e7c77bedc72ecee6c53c3af05756baa9a7e562465f8c735e6/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6d617274696e2f6c61726176656c2d706f706f6c6e69636c75622f76)](//packagist.org/packages/jackmartin/laravel-popolniclub) [![Total Downloads](https://camo.githubusercontent.com/3d8c23b47d1e0e8768fe6711992ee5d5e343117c242b95c950b832a3b650fde6/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6d617274696e2f6c61726176656c2d706f706f6c6e69636c75622f646f776e6c6f616473)](//packagist.org/packages/jackmartin/laravel-popolniclub) [![License](https://camo.githubusercontent.com/1aa16fe9f2da112736886bbaaea4eb1973a48ebedb3a799a5a522998838e7945/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6d617274696e2f6c61726176656c2d706f706f6c6e69636c75622f6c6963656e7365)](//packagist.org/packages/jackmartin/laravel-popolniclub)

Laravel пакет для работы с API [PopolniClub](https://popolni.club/)

> Read this in other language: [English](README.en.md), [Русский](README.md), [Український](README.ua.md)

> [Wiki - Описание работы библиотеки](https://github.com/martinjack/popolniclub/wiki)

> [PopolniClub API Library](https://github.com/martinjack/popolniclub)

Документация
============

[](#документация)

[API documentation](https://popolni.club/api.pdf)

Требования
==========

[](#требования)

- PHP 5.6 или выше
- Composer
- Laravel
- PopolniClub

Composer
========

[](#composer)

```
composer require jackmartin/laravel-popolniclub
```

Laravel настройка
-----------------

[](#laravel-настройка)

После установки пакета с помощью composer, зарегистрируйте сервис пакета в файле bootstrap/app.php:

```
PopolniClubLaravel\PopolniClubServiceProvider::class
```

Затем для быстрого вызов класса пакета, добавьте псевдоним в этот же файле:

```
'PopolniClubLaravel' => PopolniClubLaravel\Facades\PopolniClubFacade::class,
```

Настройка параметров пакета
---------------------------

[](#настройка-параметров-пакета)

### Копирование файла настроек

[](#копирование-файла-настроек)

```
php artisan vendor:publish
```

Выбираем Tag: popolniclub-laravel-config

или

```
php artisan vendor:publish --provider="PopolniClubLaravel\PopolniClubServiceProvider" --tag="popolniclub-laravel-config"
```

Конфигурация пакета
===================

[](#конфигурация-пакета)

### Логин API.

[](#логин-api)

#### login

[](#login)

```
'login'           => ''
```

### Пароль API.

[](#пароль-api)

#### password

[](#password)

```
'password'        => ''
```

### Песочница. По умолчанию: false

[](#песочница-по-умолчанию-false)

#### sandbox

[](#sandbox)

```
'sandbox'         => false
```

Основные методы API
===================

[](#основные-методы-api)

1. Создать платёж
    - [sendPayment](https://github.com/martinjack/popolniclub#sendpayment---%D0%BF%D1%80%D0%B8%D0%BC%D0%B5%D1%80-1)
2. Статус платежа
    - [statusPayment](https://github.com/martinjack/popolniclub#statuspayment---%D0%BF%D1%80%D0%B8%D0%BC%D0%B5%D1%80-1)
3. Текущий баланс
    - [currentBalance](https://github.com/martinjack/popolniclub#currentbalance)

Примеры
=======

[](#примеры)

### sendPayment()

[](#sendpayment)

```
print_r(

    \PopolniClubLaravel::setTransactionID()
        ->setSumm(1)
        ->setPhone('380000000000')
        ->setTemplateID()
        ->addPayment()
        ->sendPayment()
        ->getData()

);
```

### statusPayment()

[](#statuspayment)

```
print_r(

    \PopolniClubLaravel::addTransaction(1000000001)->statusPayment()->getData()

);
```

### currentBalance()

[](#currentbalance)

```
print_r(

    \PopolniClubLaravel::currentBalance()->getData()
    // \PopolniClubLaravel::currentBalance()->balance()
    // \PopolniClubLaravel::currentBalance()->balance(true)
    // \PopolniClubLaravel::currentBalance()->credit()

);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2043d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8a1483333bcef52a341ab14c3c096a0e577ca3e7499ab224202e47991434217?d=identicon)[jackmartin](/maintainers/jackmartin)

---

Top Contributors

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

---

Tags

apilaravellaravel-packagelibrarypopolni-phonepopolniclubpopolniclubapiapilaravellibrarylaravel-packagepopolniclubpopolni phonepopolniclubapi

### Embed Badge

![Health badge](/badges/jackmartin-laravel-popolniclub/health.svg)

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

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[wayofdev/laravel-symfony-serializer

📦 Laravel wrapper around Symfony Serializer.

2113.6k](/packages/wayofdev-laravel-symfony-serializer)[mahdimajidzadeh/laravel-unsplash

Laravel package for Unsplash Api

1111.4k](/packages/mahdimajidzadeh-laravel-unsplash)

PHPackages © 2026

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