Download the PHP package rollun-com/rollun-callback without Composer

On this page you can find all versions of the php package rollun-com/rollun-callback. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rollun-callback

rollun-callback

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


All versions of rollun-callback with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-json Version *
ext-openssl Version *
laminas/laminas-servicemanager Version ^3.10
laminas/laminas-http Version ^2.15
opis/closure Version ^4.3.1
rollun-com/rollun-utils Version ^9.0.0
rollun-com/rollun-logger Version ^7.7.0 || ^8.0.0
laminas/laminas-stratigility Version ^3.5.0
laminas/laminas-diactoros Version ^2.8.0
laminas/laminas-db Version ^2.13.4
aws/aws-sdk-php Version ^3.334
symfony/filesystem Version ^6.0
symfony/finder Version ^6.0
symfony/lock Version ^6.0
dragonmantank/cron-expression Version ^3.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rollun-com/rollun-callback contains the following files

Loading the files please wait ...