Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Contao Config Driver Bundle Laravel Package

oveleon/contao-config-driver-bundle

Adds a Config data container driver to Contao CMS. Load DCA palettes/fields from template or bundle config files and render them in the backend. Store values in localconfig or serialize them into an existing DB column, with support for overrides and merging.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Dynamic, Parameterized Field Configurations: The new container parameter support in v1.5.0 enables runtime injection of Laravel services (e.g., Cache, Config, Auth) or tenant-specific data into Contao DCA fields. This unlocks:
    • Environment-aware validation rules (e.g., stricter checks in production).
    • Tenant-isolated workflows (e.g., SaaS platforms dynamically loading field options per customer).
    • API-driven configurations (e.g., fetch field options from a microservice at runtime).
  • Decoupled Architecture: Replace hardcoded DCA XML with Laravel’s service container, enabling:
    • Dependency injection for Contao fields (e.g., pass a TenantRepository to filter options).
    • Testability: Mock dependencies in unit tests without Contao’s native system.
  • Roadmap Prioritization:
    • High: If building multi-tenant SaaS platforms or dynamic admin panels with Contao/Laravel.
    • Medium: For teams migrating from static DCA XML to programmatic configs.
    • Low: For frontend-only or non-Contao projects.

When to Consider This Package

Adopt if:

  • You use Laravel + Contao CMS and need runtime-configurable DCA fields (e.g., options fetched from a database, API, or Laravel service).
  • Your use case requires tenant-specific, environment-specific, or user-role-based field options (e.g., SaaS platforms, staged deployments).
  • You want to eliminate DCA XML while leveraging Laravel’s dependency injection (e.g., pass Cache, Auth, or custom services to Contao fields).
  • You’re building admin interfaces or content workflows where field logic must adapt dynamically (e.g., conditional fields based on tenant data).

Look elsewhere if:

  • You’re not using Contao or Laravel (this is a niche integration).
  • Your dynamic fields are frontend-only (consider Laravel Livewire/Alpine.js or frontend frameworks like React/Vue).
  • You need real-time UI updates without backend config (e.g., client-side JavaScript frameworks).
  • Your team lacks PHP/Laravel expertise to integrate custom bundles or service containers.
  • You require complex state management (e.g., consider Laravel Nova or Filament for pre-built admin panels).

How to Pitch It (Stakeholders)

For Executives: *"The latest update to this Laravel package (v1.5.0) adds container parameter support, letting us inject dynamic data—like tenant IDs, API responses, or environment configs—directly into Contao’s backend fields. This could:

  • Reduce setup time for multi-tenant environments by 40% (no manual XML updates).
  • Enable SaaS-scale flexibility (e.g., per-customer field rules without code changes).
  • Future-proof our Contao integrations by aligning with Laravel’s ecosystem. It’s a low-risk way to modernize our admin workflows while keeping Contao’s power."*

For Engineers: *"Key feature in v1.5.0: Container parameters now allow passing any Laravel service or runtime value to Contao DCA fields. Examples:

  • Tenant-aware fields: Inject a TenantRepository to filter options per customer.
  • API-driven configs: Fetch field options from a microservice at runtime.
  • Environment-specific rules: Pass config('app.env') to enable/disable fields.

Why use it? ✅ Replaces DCA XML with Laravel’s service container (DI, testing, caching). ✅ No Contao core hacks—works alongside existing bundles. ✅ Active maintenance (recent updates, GitHub activity).

Tradeoffs: ⚠️ Contao-specific; requires basic Laravel bundle setup. ⚠️ Not a silver bullet for real-time frontend UIs (pair with Livewire if needed).

Recommend for: Teams using Contao + Laravel who want dynamic, injectable field configs without XML."*

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky