yellow-three/tardis
Tardis is a Laravel package for time-travel debugging and auditing Eloquent models. It records model changes so you can inspect historical records, query data as it existed at a given time, and restore previous states through a simple API—without manual snapshots or extra tracking code.
Architecture fit
/admin surface and a substantial slice of the auth/authorization model (access admin gate, super-admin role, permission tree, plugin-provided routes/assets/settings). This is a platform decision, not a package decision.Integration feasibility
tardis:install performs privileged bootstrap work: creates the first administrator, assigns super-admin, and prints a generated password to console output. This needs to be captured, rotated immediately and never allowed to land in CI logs.tardis:doctor is a useful pre-flight/health check; wire it into CI and deploy smoke tests from day one.php artisan route:cache must be re-run. This means resource definition changes are a deploy-time concern, not a runtime admin action, unless the deploy pipeline is adjusted.required translatable fields) will surprise content editors; the tardis.translation.validation = active relaxation is the escape hatch and should be decided explicitly per project.Technical risk
super-admin bypass role, an allow-listed command runner (off by default — keep it off and gate any enablement behind an explicit ADR), a log viewer with potential PII exposure, and a media library handling uploads. Each needs review before production exposure.Key questions
/admin being owned by Tardis, including its auth, roles and plugin routing?UPGRADE.md completeness, deprecation notice period?Stack fit
Migration path
tardis:install with a non-personal mailbox, run tardis:doctor, build two representative BREAD resources (one translatable, one soft-deleted with bulk actions).access admin gating on every route, confirm command runner is disabled, review log viewer and media upload handling, and rotate the generated super-admin password.route:cache step to the deploy pipeline.Compatibility
Sequencing
route:cache, BREAD JSON review process agreed.tardis:doctor clean, no API breakage since last pinned tag, UPGRADE.md reviewed on each bump.Maintenance
^0.1 in production even post-pilot. Pre-1.0 minor bumps may break JSON schemas or plugin contracts.UPGRADE.md and RELEASE_NOTES.md, plus re-running tardis:doctor and the route cache step.Support
Scaling
active relaxation should be a deliberate, documented choice.Failure modes
route:cache produce missing routes/404s. Mitigate in deploy pipeline.super-admin) leading to privilege creep. Mitigate with a role-mapping matrix and periodic access review.Ramp-up
How can I help you explore Laravel packages today?