dontdrinkandroot/doctrine-key-value-storage-bundle
JSON, TEXT) for structured data. Ideal for:
{tenant_id}_theme_color).{event_id}_status).Adopt if:
Look elsewhere if:
For Executives: "This package lets us store structured, typed data (e.g., user settings, feature flags) directly in our existing PostgreSQL/MySQL database—without adding new infrastructure like Redis. It’s a lightweight way to reduce technical debt for config-heavy features, cut dev time by 30% vs. custom solutions, and keep all data transactional. Tradeoff: Slightly higher latency than caching layers, but eliminates operational complexity. Ideal for internal tools or low-volume product features."
For Engineering:
*"If we’re already using Doctrine ORM, this bundle lets us replace JSON columns or ad-hoc Redis calls with type-safe, validated key-value storage. For example:
UPDATE users SET settings = '{"theme": "dark"}' WHERE id = 123 (no validation, manual parsing).@KeyValue("user_123_theme") private string $theme; (automated casting, queries via Doctrine).
Risks: Early-stage package (0 stars), but minimal surface area to fork. Best for non-critical metadata. Pair with CI checks to monitor performance."*How can I help you explore Laravel packages today?