PHPackages                             balpom/symfony-messenger-sqlite - 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. [Database &amp; ORM](/categories/database)
4. /
5. balpom/symfony-messenger-sqlite

ActiveLibrary[Database &amp; ORM](/categories/database)

balpom/symfony-messenger-sqlite
===============================

How to initialize and to use a Symfony Messenger with queues in SQLite database without Doctrine.

v1.0.2(2y ago)014MITPHPPHP &gt;=8.1

Since Jun 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/balpom/symfony-messenger-sqlite)[ Packagist](https://packagist.org/packages/balpom/symfony-messenger-sqlite)[ Docs](https://www.balpom.ru)[ RSS](/packages/balpom-symfony-messenger-sqlite/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

symfony-messenger-sqlite
========================

[](#symfony-messenger-sqlite)

A simple example showing how to initialize and to use a Symfony Messenger with queues in SQLite database without Doctrine.
--------------------------------------------------------------------------------------------------------------------------

[](#a-simple-example-showing-how-to-initialize-and-to-use-a-symfony-messenger-with-queues-in-sqlite-database-without-doctrine)

It is modified example from , which use Doctrine  as message transport.

This example use  as transport. It use SQLite database by PDO and without Doctrine.

Everything was tested in Linux.

### Requirements

[](#requirements)

- **PHP &gt;= 8.1**

### Installation

[](#installation)

#### Using composer (recommended)

[](#using-composer-recommended)

```
composer create balpom/symfony-messenger-sqlite
```

How to use
----------

[](#how-to-use)

### Simple test

[](#simple-test)

Open console window. Run the command:

```
php bin/console messenger:consume sql-async
```

It starts simple Worker, which imitate SMS sending. Now it is waiting for messages to be sent from the queue, which is still empty.

Open another console window. Run the command:

```
php tests/send.php
```

It runs a simple script that adds several messages to the queue. After this, in first console window you may see, how Worker "sending" SMS.

Run the command:

```
php bin/console messenger:stop-workers
```

It stop Worker execution.

### Advanced test

[](#advanced-test)

Open multiple consoles. In each of them, run the command:

```
php bin/console messenger:consume sql-async
```

It starts many simple Workers, which imitate SMS sending. Now it is waiting for messages to be sent from the queue, which is still empty.

Open one more console window. Run the command:

```
php tests/sendmany.php
```

It runs a simple script that adds many several messages to the queue. After this, in previously opened consoles you may see, how several Workers "sending" SMS.

Run the command:

```
php bin/console messenger:stop-workers
```

It stop all Workers executions.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~0 days

Total

3

Last Release

756d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/141855513?v=4)[Mikhail](/maintainers/balpom)[@balpom](https://github.com/balpom)

---

Top Contributors

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

---

Tags

consolesymfonysqlitesqlpdoqueuetransportexampleworkerusageMessengerusesample

### Embed Badge

![Health badge](/badges/balpom-symfony-messenger-sqlite/health.svg)

```
[![Health](https://phpackages.com/badges/balpom-symfony-messenger-sqlite/health.svg)](https://phpackages.com/packages/balpom-symfony-messenger-sqlite)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[sulu/sulu

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

1.3k1.4M203](/packages/sulu-sulu)[shopware/storefront

Storefront for Shopware

684.6M235](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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