Weave 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

Sonata Auto Configure Bundle Laravel Package

kunicmarko/sonata-auto-configure-bundle

A Symfony bundle for Sonata Admin that uses convention over configuration to automatically register and configure admin classes and services, reducing boilerplate so you can focus on building CRUD screens and management interfaces with less manual setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for back-office scaffolding. This package addresses a narrow, real cost: Sonata Admin requires one service definition plus a sonata.admin tag per admin class, which produces hundreds of lines of near-identical YAML in a mature application. The package's premise — scan admin classes and register them automatically with sensible defaults — is a legitimate boilerplate-reduction bet. The decision it informs is whether that boilerplate is worth eliminating with a third-party dependency or with ~100 lines of in-house compiler-pass code.
  • Framework fit for the admin surface. It is a Symfony/Sonata bundle, not a Laravel package. If the roadmap assumes a Laravel admin layer (Nova, Filament, Backpack), this package is out of scope on ecosystem grounds alone — a decision worth recording explicitly so it stops resurfacing in package evaluations.
  • Convention-over-configuration posture. Adopting it is a statement that admin registration should be implicit (class-name and namespace conventions, interface markers) rather than explicit. That has downstream consequences for how new admins are onboarded, how per-admin customization is expressed, and how debuggable the container is — worth aligning on before any code is written.
  • Maintenance signal, now mixed. The prior read was "archived, last release March 2019, zero dependents, 16 stars." Release 0.7.1 is a patch that fixes multiple global extensions not working — evidence someone is still touching the code, but not evidence of a support commitment. The decision this supports is unchanged in direction but softer in confidence: a single patch on a still-0.x package, with no published compatibility matrix or security process, is not a maintenance guarantee. Treat it as a design reference, not a dependency, until we see a sustained release cadence and stated framework support.

When to Consider This Package

Consider it only as a pattern reference — read the source for how to write a compiler pass that registers tagged admin services — when all of the following hold:

  • The stack is Symfony 3.4/4.x with Sonata Admin 3.x and PHP 7.x, matching the era of the last substantive release.
  • The application already has a large, repetitive services.yaml block of sonata.admin definitions and a team comfortable debugging the DI container.
  • The work is internal tooling with a short lifespan and low blast radius, where a stale dependency is tolerable.

Look elsewhere in essentially every other case:

  • Laravel or non-Symfony stacks — not applicable at all.
  • Symfony 5.4+/6.x/7.x or Sonata Admin 4+ — 0.7.1 fixes an extension-handling regression but ships no compatibility statement, no PHP 8 deprecation work, and no security patching policy. Unmaintained code in the container layer is a maintenance liability with no offsetting benefit.
  • Any long-lived or customer-facing product — dependencies without a support commitment fail procurement and security review; the "free" boilerplate reduction transfers ownership risk to you.
  • Preferred alternatives — Sonata's own autoconfiguration and attribute-based admin declaration in modern versions, or EasyAdmin if the requirement is simply "a maintained CRUD back-office with minimal config." Both are first-party and actively maintained.

Note what 0.7.1 does not change: the fix concerns global extensions, which is adjacent to — not the same as — the service-registration behavior that makes this package interesting. Its core value proposition is neither repaired nor validated by this release, so it does not move the adoption bar.

How to Pitch It (Stakeholders)

Recommendation: do not adopt. This is a Symfony/Sonata bundle (16 stars, zero known dependents, no presence in the Laravel ecosystem) that auto-registers Sonata Admin services to remove boilerplate. Its most recent release, 0.7.1, is a one-line bugfix for broken global extensions — a welcome sign of life, but not a support commitment: it remains a 0.x package with no stated Symfony/PHP compatibility guarantees, no security process, and no release cadence we can plan against. The problem it solves is real; the dependency is not supportable.

For engineering: the underlying idea — a compiler pass that tags admin classes automatically — is small and worth copying into our own codebase if we stay on Sonata. Budget roughly a day, own the code, and skip the dependency risk entirely. Re-open the evaluation only if the package publishes a supported-version matrix and ships a sustained release cadence; a single patch is not that signal. If we are choosing an admin layer rather than inheriting one, EasyAdmin or Sonata's built-in autoconfiguration gets us the same convention-over-configuration benefit with active maintenance.

For executives: no cost, no integration — and no upside worth taking on unmaintained code in our service container. The recent patch release softens the "abandoned" label but does not create a support contract. The decision stands: treat this as a one-hour design reference rather than a dependency, and confirm our admin framework choice before we invest further.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console