mphpmaster/laravel-nova-helpers
Helper utilities for Laravel Nova that streamline common admin panel tasks, adding reusable tools and conveniences to simplify building and maintaining Nova resources.
searchable()/sortable() chains, timestamp and BelongsTo field bundles, status badge formatting). That is a real but small velocity gain, and it is a maintenance cost we inherit. The PM decision is whether that trade is worth an OSS dependency with no vendor SLA.app/Nova. Non-scenarios: anything an operator's authorization or audit trail depends on, and anything outside the admin panel.Consider it when:
app/Nova: the same field chains, the same base field bundles, the same formatting helpers repeated across a meaningful number of resources. If it's three resources, write the helper yourself.grep effort only if usage is deliberately concentrated in a base resource class.composer.json — duplicate global function declarations are a fatal autoload error, not a warning.Look elsewhere when:
BaseResource with two or three protected methods delivers most of the benefit with zero dependency surface and zero upgrade review.To executives: This is a small, optional convenience library for our internal admin panel, not a product dependency. It could shave some repetitive code out of back-office screens, but the evidence base is thin — one GitHub star, no downstream dependents, and a last release from late 2023 whose notes are just a link. My recommendation is do not adopt by default; evaluate it only if we're committed to Nova long-term and have real boilerplate to eliminate. The cost of the alternative — a short internal base class — is measured in hours, and it carries no third-party risk. If we do adopt, the downside is bounded: admins are internal users, and removal is a mechanical change.
To engineering: Treat this as a convenience layer to be judged on boilerplate removed per resource, not on feature count. If we trial it: pin to ^1.2, verify the exact vendor string on Packagist first (mPhpMaster packages have shipped under inconsistent casing), confirm Nova/Laravel/PHP constraints match our majors, and read the actual 1.1.0→1.2.0 diff since the release notes don't describe anything. Apply one trait or macro to one resource, assert on Nova's JSON payloads at the index and detail endpoints, then stop and decide. Keep every usage inside a single BaseResource or Concerns/ folder so a swap-out stays a grep, not an audit — and check for global function collisions with any other mPhpMaster helpers already installed, because that failure mode is a hard fatal at autoload time.
The ask: A time-boxed spike in a branch — one resource, one trait, a feature test, and a written summary of the diff plus a compatibility matrix. If the spike and the diff review don't both come back clean, we write the helper ourselves and close the ticket.
How can I help you explore Laravel packages today?