lifeonscreen/nova-belongs-to-badge
A Laravel Nova field that displays a belongsTo relationship as a compact, color-coded badge in index and detail views, so related records are easy to scan at a glance. Simple to configure with custom labels, colors, and value mappings.
Consider it when:
Look elsewhere or wait when:
Executives: This is a small, low-cost package aimed at a specific, well-understood source of application slowness — redundant database queries. It's a cheap experiment that could improve API/page response times and defer infrastructure spend. Risk is low because it's narrow and reversible, but it's an initial 1.0.0 release, so we recommend piloting it on one or two endpoints with a clear rollback path before broader adoption.
Engineering: The package adds eager loading support for Laravel's Eloquent ORM — a conventional answer to N+1 query problems. Integration is minimal and idiomatic; no changes to domain models, and adoption is opt-in per query path. Because it's v1.0.0 with one documented feature, contain it to a limited area, pin the version, and add query-count assertions in tests to prove the benefit before widening rollout.
How can I help you explore Laravel packages today?