sprintf/admin-bundle
sprintf/admin-bundle provides a ready-made admin dashboard for PHP applications, giving developers a simple backend interface to manage resources, users, and content with minimal setup and easy integration.
Framework reality check first. sprintf/admin-bundle is a Symfony bundle, not a Laravel package. There is no service provider, no config/admin-bundle.php, no facade. composer require sprintf/admin-bundle inside a Laravel app will install files that never get loaded — Symfony bundles register through config/bundles.php and depend on symfony/http-kernel, symfony/dependency-injection, and typically Twig and Doctrine. If your stack is Laravel-only, stop here; nothing in this package transfers to Eloquent, Blade, or Laravel's container.
If you're evaluating it for a Symfony service (or a polyglot setup), the minimal path is:
composer require sprintf/admin-bundleconfig/bundles.phpResources/config/ for a routes file or annotation-based controllers)access_control ruleWhere to look first. With 2 stars and 0 dependents, the README is not a reliable source of truth — read the source. Start with DependencyInjection/Configuration.php (the real config surface), Resources/config/ (services, routes, tags), and any Admin/Controller base classes that define how entities are registered.
First use case. Wire up exactly one entity — a list view and an edit form — behind your existing firewall. That tells you whether the bundle's conventions (entity discovery, form building, template expectations) match your domain before you invest in more. Given the adoption numbers, treat this as a spike, not an adoption.
Standard bundle wiring. Register in bundles.php, import routes, and scope the admin prefix (/admin) to a firewall with a role check. Most bundles of this shape either discover admins via a service tag or expect an explicit config map — check which before writing per-entity classes.
Entity-driven admin classes. The typical pattern here is one admin class per entity extending a base class, or services tagged for auto-registration. Verify how discovery works (bin/console debug:container --tag=...) so you don't write classes the bundle never sees.
Doctrine coupling is likely. Admin bundles almost universally assume Doctrine ORM entities and metadata. If your data lives in a Laravel/MySQL app with Eloquent, there is no bridge — the bundle will not read your models. The practical integration is to treat it as a separate Symfony admin service, expose it behind a reverse proxy, and share the database at the schema level only.
Templating. Expect Twig. If your primary frontend is Blade/Inertia/Livewire, you cannot reuse the bundle's views. Isolate the admin as its own app rather than trying to embed it.
Isolation as a pattern. Wrap the whole thing behind a route prefix and its own auth boundary so it stays replaceable. If this bundle dies (see below), you want the blast radius to be one service, not your domain layer.
"repositories" with a VCS entry) or budget to own the code outright.composer.json constraints (*, dev-master). Pin explicitly and diff the source against your Symfony version before trusting a minor upgrade.bin/console debug:router and debug:container confirm whether routes and services registered at all. The usual first-run errors are Twig template-not-found or Doctrine mapping exceptions in var/log/dev.log — check those before assuming the bundle is broken.Configuration.php. The README often lags the real tree; anything not documented there is still a valid knob. Read it.templates/bundles/<BundleName>/ and subclassing base admin/controller classes over editing vendor/. You'll be maintaining this fork, so keep the diff small.How can I help you explore Laravel packages today?