Download the PHP package ineersa/sqlite-queue without Composer

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

sqlite-queue

A PHP queue broker backed by SQLite, with a socket client and a Symfony Messenger transport.

Run the broker as a separate process. Applications send messages through the PHP client or Messenger. The broker stores messages in SQLite, supports millisecond delays, and redelivers messages that are not acknowledged before their reservation expires.

Use it for local messaging when prompt wakeups and centralized database access matter more than maximum burst throughput. The broker does not run application handlers.

Requirements

Composer installs the required Symfony components, Amp, and Revolt. Doctrine is not a runtime dependency. Native Messenger keepalive also requires ext-pcntl in the consumer.

Install

Install the released broker from Packagist. It still requires the ineersa/amp-sqlite3 driver's development branch, installed under the package name fabpot/amphp-sqlite3. Configure that fork's repository in your application before installing:

The explicit driver requirement allows its development branch without lowering your application's global stability setting. Commit your application's Composer lock file and deploy with composer install. See the standalone client guide for the next steps.

Use with Symfony Messenger

The bundle registers the transport factory and sqlite-queue:broker command. Configure a sqlite-queue://<queue> transport with an absolute socket endpoint, start the broker, then use the stock consumer:

The Messenger guide explains serialization, retries, idle selection, and failures.

Use the PHP client

Start the broker with vendor/bin/sqlite-queue broker, supplying its database and socket paths, then connect with Client::connect(). The client supports sending, immediate receive, settlement, reservation renewal, and single- or multi-queue readiness waits without a Symfony application kernel.

Run the broker and use the client provides copyable publisher and consumer examples.

Delivery guarantees

See delivery contracts for ordering, durability, cancellation, and receipt ownership.

Run in production

Supervise the broker and consumers separately. Keep the database and socket private, wait for the broker's ready event before admitting clients, and configure cleanup of its whole process group after an abrupt exit. Storage operations have bounded deadlines; missing confirmations still leave their outcomes unknown.

Operate the queue covers shutdown, failure recovery, disk growth, stale sockets, and offline backup and restore. Test application recovery and duplicate-effect protection before deployment.

Reference

Development

See the benchmark guide explains how to manage them safely.

License

MIT. See LICENSE.


All versions of sqlite-queue with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
ext-sqlite3 Version *
amphp/amp Version ^3.1
amphp/socket Version ^2.4
amphp/sync Version ^2.3
fabpot/amphp-sqlite3 Version dev-development
revolt/event-loop Version ^1.0
symfony/clock Version ^8.0
symfony/console Version ^8.0
symfony/filesystem Version ^8.0
symfony/lock Version ^8.0
symfony/messenger Version ^8.0
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 ineersa/sqlite-queue contains the following files

Loading the files please wait ...