Download the PHP package ackintosh/snidel without Composer

On this page you can find all versions of the php package ackintosh/snidel. 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 snidel

Snidel

A multi-process container. Snidel makes it easier for all PHP developers to work with parallel processing without any extensions.

Latest Stable Version License Tests Scrutinizer Code Quality Coverage Status Minimum PHP Version

Please consider donating to this project's author, Akihito Nakano, to show your :heart: and support.

Sponsor @ackintosh on GitHub Sponsors

What Snidel solves?

(en)

Not a few people, start their programming carrier with PHP, and go on. Parallel processing, they are not familiar with it, and may be a hurdle for them.

Or else, people who limited to develop with a language that is not PHP (e.g. A language that has superior feature for parallel processing). (It's me in past.)

To make parallel processing more easily and instinctively to them to use, I started developing Snidel.

Snidel can be one of your options when you are considering "How to do it parallelly?". It's an honer for me.

(ja)

PHPでプログラミングに入門して、PHPでキャリアを積み重ねているプログラマがある程度いると思います(私がそうです)。そのような方にとって並列処理は馴染みがなかったり、敷居の高さを感じるのではないでしょうか。

或いは諸事情によりPHP以外の言語(例えば、並列処理のための優れた機構を持った言語)を利用する事を制限されている中で開発を進めなければならない状況にある方もいらっしゃるでしょう(以前の私がそうでした)。

そのような方が、手軽に・直感的に並列処理を使って問題解決できることを目的として Snidel の開発をはじめました。

"この処理を並列に実行したいんだけどどうしよう?" といった場合に Snidel がみなさんの選択肢のひとつになれたら幸いです。

Installing Snidel via Composer

Architecture

Benefits

It is also possible parallel processing via build-in functions (e.g. exec):

For the developers who feels "pain" with the above, Snidel can provides pretty good experience and will streamline their PHP programming.

We will walk through usage to show how Snidel melt parallel processing into your programming. The experience using Snidel should resolve your pain. Let's get started!

Usage

Basic Usage

Constructor parameters

All parameters are optional.

Same arguments as call_user_func_array

Tagging the task

Logging

Snidel supports logging with logger which implements PSR-3: Logger Interface.

Error informations of children

Using custom queue

Snidel depends on Bernard as a queue abstraction layer. Bernard is a multi-backend PHP library for creating background jobs for later processing.
By default Snidel builds the flatfile driver, but from a race condition perspective, we recommend using a more reliable queue in production.

Amazon SQS

For details on the driver, please see here.

Articles

Here are articles that introducing Snidel. Thank you!

Requirements

Version Guidance

Snidel PHP
0.1 ~ 0.8 >= 5.3
0.9 ~ >= 5.6
0.13 >= 7.1

Docker

We suggest you give it a try with Docker as Snidel requires some php extensions shown in Requirements.

Run unit tests in docker container

Author

Snidel © ackintosh, Released under the MIT License.
Authored and maintained by ackintosh

GitHub @ackintosh / Twitter @NAKANO_Akihito / Blog (ja)

Blog entries by author about Snidel (ja):

Acknowledgments

Thanks to JetBrains for supporting us with a Free Open Source License.


All versions of snidel with dependencies

PHP Build Version
Package Version
Requires bernard/bernard Version 1.0.0-alpha9
php Version >=7.1.0
psr/log Version ^1.0
opis/closure Version ^3.0.7
ext-pcntl Version *
ext-posix Version *
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 ackintosh/snidel contains the following files

Loading the files please wait ....