coreproc/nova-auditing-user-fields
A Laravel Nova add-on for Laravel Auditing that adds user fields, so every record shows who created, updated, or deleted it. Displays the responsible user right in your Nova resources for a clear, built-in audit trail.
Architecture fit: The package appears to be an extension or wrapper around owen-it/laravel-auditing, positioning it in the persistence/audit-trail layer of a Laravel application. It is a fit only if the target application is on Laravel 7 and already standardizes on laravel-auditing v10. For any newer Laravel major version, architecture fit is unproven and should be treated as a blocker until compatibility is confirmed. The 0.2.0 release is a compatibility-maintenance release, not a feature release, so it signals upstream tracking but does not by itself justify adoption.
Integration feasibility: Integration is likely straightforward for a Laravel 7 codebase: Composer install, service-provider auto-discovery, config/migration publish, and wiring an auditable model. Feasibility depends on whether the package replaces, extends, or merely configures the upstream auditing package. A dependency spike is required against the existing composer.lock, PHP version, database driver, and any other packages that constrain laravel/framework or owen-it/laravel-auditing. The audit table migration and schema should be reviewed before any pilot.
Technical risk: The compatibility window is narrow — Laravel 7 plus auditing v10 — and Laravel 7 is end-of-life from a security-support perspective. Adopting a package that explicitly targets Laravel 7 increases platform-risk exposure. The package is pre-1.0 (0.2.0), so minor releases may carry breaking changes under semver expectations. Release notes are sparse, and test coverage, CI status, license, maintainer responsiveness, and backward-compatibility guarantees are unknown. Transitive dependency conflicts with newer auditing or framework constraints are a realistic risk.
Key questions: What does this package add over using owen-it/laravel-auditing directly? Is there a roadmap for Laravel 8/9/10/11 and auditing v11+? What PHP versions and database drivers are supported? Is the audit schema customizable, and does it support queued/async audits, multi-tenancy, and retention policies? Who maintains the package, what is the license, and is there CI/test coverage? What changed in 0.1.x, and is there a migration path from direct laravel-auditing usage? Does audit writing occur inside the model transaction, and can it block or roll back business writes?
Stack fit: Green only for Laravel 7 applications using laravel-auditing v10. Amber or red for Laravel 8+ until the package declares and tests support. The package should not be introduced as a transitive dependency without an explicit Laravel-version check in CI.
Migration path: Start with a spike branch: require the package at a pinned exact version, publish config and migrations, run migrations against a disposable database, wire one low-risk model, and verify create/update/delete audit records, including actor, event, old/new values, and timestamps. If the application already uses laravel-auditing directly, compare schemas and behavior before switching to avoid duplicate audit rows or divergent audit models. Test rollback and re-migration before promoting.
Compatibility: Validate composer why-not laravel/framework 7.* and composer why-not owen-it/laravel-auditing 10.* before installation. Confirm PHP constraint alignment, database support, and whether the package’s service provider or config merges conflict with existing auditing configuration. Check whether the package pins upstream versions or allows ranges; prefer ranges only if CI covers the matrix.
Sequencing: (1) Confirm current Laravel and auditing versions and whether auditing is already in use. (2) Run a dependency and PHP compatibility spike. (3) Review migrations, indexes, and audit schema. (4) Pilot on one model in staging with feature-flagged enablement. (5) Define retention, archival, and indexing before production. (6) Roll out incrementally with monitoring on write latency and audit-row volume. (7) Document the upgrade path and pinning policy.
Maintenance: The 0.2.0 release shows the maintainer is tracking Laravel and auditing upgrades, but release cadence and long-term maintenance are unknown. Because the package is pre-1.0, pin exact versions and review every release for breaking changes. Budget recurring time for dependency compatibility checks, especially around Laravel and auditing upgrades.
Support: Expect community-level support rather than a vendor SLA. Assign an internal owner and capture a runbook covering configuration, schema, retention jobs, and rollback. If the package is single-maintainer, treat bus-factor as a material operational risk and consider forking or wrapping the upstream package directly if usage becomes critical.
Scaling: Audit tables grow linearly with write volume. Confirm indexes on auditable type/id and timestamp columns, define retention/archival early, and verify whether audit writes are synchronous in the request path. For high-write models, queued auditing or async persistence may be necessary to avoid latency and lock contention. Multi-tenant deployments need explicit scoping and access controls on audit data.
Failure modes: Audit-write failures may block or roll back business writes if executed in the same transaction. Misconfiguration can silently produce no audits, which is worse than an explicit failure. Migration conflicts, dependency drift on Laravel/auditing upgrades, and over-aggressive retention jobs can cause data loss or gaps. Monitor audit-row creation rates and alert on unexpected drops.
Ramp-up: Low for Laravel teams already familiar with Eloquent and laravel-auditing; moderate if custom audit drivers, multi-tenant scoping, or retention automation are required. Sparse release notes mean internal documentation is essential. Allocate time for schema review, a staging pilot, and a written operational runbook before production use.
How can I help you explore Laravel packages today?