Download the PHP package th3mouk/materialized-view-bundle without Composer
On this page you can find all versions of the php package th3mouk/materialized-view-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download th3mouk/materialized-view-bundle
More information about th3mouk/materialized-view-bundle
Files in th3mouk/materialized-view-bundle
Package materialized-view-bundle
Short Description Symfony bundle for th3mouk/materialized-view: autoconfiguration, console commands, the locked deploy lane, async refresh and read-only ORM guards for PostgreSQL materialized views.
License Apache-2.0
Informations about the package materialized-view-bundle
th3mouk/materialized-view-bundle
Symfony integration for
th3mouk/materialized-view— manage PostgreSQL materialized views declaratively, with first-class support for booting the same views across many databases/connections.
The bundle adds, on top of the framework-agnostic core: autoconfiguration of your view definitions, console commands (matview:*), the locked deploy lane (drop --if-pending → migrate → sync in one process), async refresh dispatching, and read-only ORM guards.
Why a separate bundle
The core is intentionally framework-free (DBAL only). Everything Symfony-specific — DI, attributes, commands, Messenger, the Doctrine Migrations lane — lives here so the core can be reused and tested in isolation, and so neither package strands the other on a framework upgrade.
Installation
Requirements: PHP ≥ 8.4, Symfony ≥ 8.0, Doctrine DBAL ≥ 4.4, DoctrineBundle, PostgreSQL (12+). For the deploy lane, DoctrineMigrationsBundle; for async refresh, Symfony Messenger with a shared transport.
60-second setup (Symfony)
-
Register the bundle (Flex usually does this) in
config/bundles.php: -
Declare a view — a
.sqlfile plus an attributed PHP class (auto-discovered, no interface): - Wire the deploy lane (per database) — see boot lane:
Documentation
| Tier | Audience | Start here |
|---|---|---|
| Getting started | Users — wire it into Symfony fast | docs/getting-started.md |
| Guide | Users — commands, config, boot lane, async, templates | docs/guide/ |
| Internals | Maintainers — design & Symfony/Doctrine references | docs/internals/ |
Core concepts (definitions, rebuilds, refresh, locking, hashing, ORM) are documented in the native library docs. This bundle's docs cover the Symfony surface and link back.
Compatibility
| This bundle | PHP | Symfony | DoctrineBundle | Migrations (optional) | Core |
|---|---|---|---|---|---|
^1.0 |
≥ 8.4 | ^8.0 | ^2.13 | ^4.0 | th3mouk/materialized-view:^1.0 |
License
NOTICE.
If you use or redistribute this package, keep the NOTICE attribution —
crediting Jérémy Marodon (th3mouk) and naming this library in your product's
documentation or credits. Please contribute upstream rather than
maintaining a public fork.
All versions of materialized-view-bundle with dependencies
th3mouk/materialized-view Version ^1.3
symfony/framework-bundle Version ^8.0
symfony/console Version ^8.0
symfony/config Version ^8.0
symfony/dependency-injection Version ^8.0
symfony/filesystem Version ^8.0
symfony/http-kernel Version ^8.0
doctrine/dbal Version ^4.4
doctrine/doctrine-bundle Version ^3.0