PHPackages                             rollun-com/rollun-callback - 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. rollun-com/rollun-callback

ActiveLibrary

rollun-com/rollun-callback
==========================

Callback

8.1.0(8mo ago)110.6k—0%7[4 issues](https://github.com/rollun-lc/rollun-callback/issues)[3 PRs](https://github.com/rollun-lc/rollun-callback/pulls)3GPL-3.0PHPPHP ^8.0CI failing

Since Jan 13Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/rollun-lc/rollun-callback)[ Packagist](https://packagist.org/packages/rollun-com/rollun-callback)[ RSS](/packages/rollun-com-rollun-callback/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (23)Versions (149)Used By (3)

rollun-callback
===============

[](#rollun-callback)

`rollun-callback` - библиотека, которая кроме полезных `callable` объектов дает возможность передавать код на выполнение другому процессу, машине или очереди. Так же эта библиотека дает возможность быстро поднять `endpoint` для работы `webhook` - сервис, который сразу же возвращает управление, несмотря на длительность возможных операций.

- [Документация](https://rollun-com.github.io/rollun-datastore)

Переход на версию php 8
-----------------------

[](#переход-на-версию-php-8)

При переходе на PHP v.8 и Laminas выявлены следующие проблемы.

### 1. Проблема с ресурсами CURL

[](#1-проблема-с-ресурсами-curl)

По цепочке зависимостей, которую удалось установить, тянется пакет guzzle/guzzle: v3.9.0. В этом пакете используется расширение php-curl. В версиях php &lt; 8 функции типа curl\_init возвращали ресурс, и в коде самого пакета guzzle/guzzle: v3.9.0 есть много проверок типа

```
    // В одних местах
    $handler = curl_init();
    ...
    // В других местах
    if (!is_resource($handler)) {
        throw new Exception();
    }
```

Так как $handler теперь обьект, эти проверки не проходят и выбрасываются исключения.

Единственное решение, которое смог придумать, форкнуть устаревший пакет (уже давно не поддерживается и находится в архиве) guzzle/guzzle и переписать условия проверки с is\_resource на instanceof.

### 2. Проблемы с тестами

[](#2-проблемы-с-тестами)

Все закомментировал, нужно отдельно разбираться.

#### 2.1. Метод \\Rollun\\Test\\Functional\\Callback\\Queues\\Adapter\\SqsAdapterTest::testCreateAdapterWithDeadLetterQueue()

[](#21-метод-rolluntestfunctionalcallbackqueuesadaptersqsadaptertesttestcreateadapterwithdeadletterqueue)

При попытке получить с контейнера сервис DeadLetterQueue::class, выбрасывается исключение. Такой сервис не сконфигурирован.

#### 2.2. Класс \\Rollun\\Test\\Functional\\Callback\\PidKiller\\WorkerManagerTest

[](#22-класс-rolluntestfunctionalcallbackpidkillerworkermanagertest)

В данном классе все тесты вызывают метод \\rollun\\callback\\PidKiller\\LinuxPidKiller::ps(), который был удален 25.06.2019Поправил

#### 2.3. Класс \\Rollun\\Test\\Unit\\Callback\\Queues\\Adapter\\SqsAdapterTest

[](#23-класс-rolluntestunitcallbackqueuesadaptersqsadaptertest)

Закомментировал все тесты

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.2% 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 ~22 days

Recently: every ~58 days

Total

141

Last Release

265d ago

Major Versions

6.10.1 → 7.1.02024-10-23

6.11.0 → 7.2.02024-10-30

6.11.1 → 7.3.02024-11-05

6.x-dev → 7.x-dev2025-05-28

7.x-dev → 8.0.02025-05-28

PHP version history (4 changes)v1.0.0PHP ^5.6 || ^7.0

4.5.0PHP ^7.0

5.0.0PHP ^7.2

7.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a580b0a91b7d5d602f8858c7c747c49542ea14b631dcd976eed93a0d3014a8de?d=identicon)[Andrey Zaboychenko](/maintainers/Andrey%20Zaboychenko)

---

Top Contributors

[![victorynox](https://avatars.githubusercontent.com/u/17138585?v=4)](https://github.com/victorynox "victorynox (208 commits)")[![misha-rollun](https://avatars.githubusercontent.com/u/72918877?v=4)](https://github.com/misha-rollun "misha-rollun (66 commits)")[![rrollun](https://avatars.githubusercontent.com/u/61580349?v=4)](https://github.com/rrollun "rrollun (36 commits)")[![orlyk-rollun](https://avatars.githubusercontent.com/u/59170653?v=4)](https://github.com/orlyk-rollun "orlyk-rollun (25 commits)")[![sergeysvrollun](https://avatars.githubusercontent.com/u/55694874?v=4)](https://github.com/sergeysvrollun "sergeysvrollun (22 commits)")[![rollun-com](https://avatars.githubusercontent.com/u/25004261?v=4)](https://github.com/rollun-com "rollun-com (17 commits)")[![Vict0rynox](https://avatars.githubusercontent.com/u/8139419?v=4)](https://github.com/Vict0rynox "Vict0rynox (16 commits)")[![maria-rollun](https://avatars.githubusercontent.com/u/85940777?v=4)](https://github.com/maria-rollun "maria-rollun (12 commits)")[![vadymk-rollun](https://avatars.githubusercontent.com/u/194381237?v=4)](https://github.com/vadymk-rollun "vadymk-rollun (3 commits)")[![mikola-rollun](https://avatars.githubusercontent.com/u/116670083?v=4)](https://github.com/mikola-rollun "mikola-rollun (3 commits)")[![kostia-rollun](https://avatars.githubusercontent.com/u/60188891?v=4)](https://github.com/kostia-rollun "kostia-rollun (2 commits)")[![rratsun](https://avatars.githubusercontent.com/u/33658723?v=4)](https://github.com/rratsun "rratsun (2 commits)")[![lazarevrollun](https://avatars.githubusercontent.com/u/133766569?v=4)](https://github.com/lazarevrollun "lazarevrollun (1 commits)")[![artemka-debug](https://avatars.githubusercontent.com/u/60359843?v=4)](https://github.com/artemka-debug "artemka-debug (1 commits)")

---

Tags

composer-libraryphp

###  Code Quality

TestsPHPUnit

Static AnalysisRector

### Embed Badge

![Health badge](/badges/rollun-com-rollun-callback/health.svg)

```
[![Health](https://phpackages.com/badges/rollun-com-rollun-callback/health.svg)](https://phpackages.com/packages/rollun-com-rollun-callback)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)

PHPackages © 2026

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