Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Blameable Laravel Package

laravel-appkit/blameable

Laravel AppKit Blameable automatically tracks who created, updated, or deleted Eloquent models, filling blame columns without extra code. Lightweight and easy to drop into existing apps for simple audit trails.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

laravel-appkit/blameable is a Laravel-oriented package that appears to provide Eloquent-level “blameable”/userstamp behavior, likely tracking which user created, updated, or deleted records. From a TPM perspective, v1.2.0 is a maintenance and compatibility release rather than a feature release: the changelog is dominated by Dependabot dependency bumps, with the only notable capability signal being PHP 8.4 support.

Architecture fit: Strong fit for Laravel monoliths, APIs, and admin systems that need lightweight audit attribution without introducing a separate audit service. The package should integrate at the model/trait or observer layer, which keeps coupling low and avoids broad architectural change.

Integration feasibility: Likely straightforward for a Laravel team: install via Composer, publish/configure any package settings, add columns/migrations where required, apply the trait/interface to selected models, and ensure authenticated user context is available during writes. Feasibility depends on whether the app is on a supported Laravel/PHP combination and whether existing models already have competing audit or timestamp behavior.

Technical risk: Low application-code risk, but moderate compatibility uncertainty. The release notes do not describe breaking changes, and most dependency updates are test/dev tooling. However, the test matrix is not evident from the release notes: Orchestra Testbench remains on the 6.x line and PHPUnit on 9.x, which may indicate support for an older Laravel line. The PHP 8.4 addition is valuable, but TPM should confirm the full supported Laravel/PHP matrix before committing.

Key questions:

  • Which Laravel and PHP versions are officially supported by v1.2.0?
  • Does the package require schema changes, or does it rely on existing created_by/updated_by/deleted_by columns?
  • How does it resolve the current user in HTTP, queue, console, and scheduled-job contexts?
  • Does it handle soft deletes, bulk updates, model events, and multi-tenant auth correctly?
  • Are migrations reversible and safe for existing production tables?
  • What is the test coverage and release cadence beyond dependency automation?

Integration Approach

Stack fit: Best suited to Laravel applications that already use Eloquent and want simple per-model attribution. It is a poor fit if the organization requires centralized immutable audit logs, event sourcing, or compliance-grade audit retention; in those cases, a dedicated audit/event pipeline is preferable.

Migration path: Treat v1.2.0 as a controlled dependency upgrade or initial adoption, not a broad refactor. Pin the exact version, review Composer constraints, install in a staging branch, run the application test suite, and pilot on one low-risk model before expanding. Avoid backfilling historical attribution unless the business explicitly requires it; backfills can create misleading audit semantics.

Compatibility: The PHP 8.4 support is the primary reason to consider v1.2.0. Confirm compatibility with the application’s Laravel version, database engine, and existing model traits/observers. Because the release includes many dependency changes, run a dependency-resolution check and ensure no transitive conflict affects the host application.

Sequencing:

  1. Confirm Laravel/PHP support and Composer constraints.
  2. Audit existing audit/userstamp behavior to avoid duplicate tracking.
  3. Install and configure in staging.
  4. Add required schema changes with rollback validation.
  5. Pilot on one model and verify HTTP, queue, console, and soft-delete behavior.
  6. Expand to additional models only after tests and operational checks pass.
  7. Document conventions for when attribution is expected to be null versus populated.

Operational Impact

Maintenance: Low ongoing maintenance if the package remains dependency-only and compatible. The v1.2.0 changelog suggests active dependency hygiene, but also that the release is mostly automated maintenance. TPM should watch for future major-version upgrades or Laravel support changes rather than feature churn.

Support: This is a community/Laravel-appkit package, not a first-party Symfony/Laravel core component. Support depends on maintainer responsiveness and documentation. Keep an internal owner for configuration, schema conventions, and upgrade testing.

Scaling: Runtime overhead should be modest because attribution typically occurs during Eloquent write events. The main scaling concern is not throughput but consistency: mass updates, imports, and bulk operations may bypass model events or lack user context.

Failure modes: Common risks include null or incorrect user IDs in queue/console contexts, missing columns or migrations, duplicate attribution logic, soft-delete edge cases, tenant leakage if the auth resolver is not tenant-aware, and silent gaps in audit coverage for bulk writes. These are operational correctness risks more than availability risks.

Ramp-up: Low for a Laravel-proficient team. A developer can likely integrate it in hours, but correct rollout requires explicit conventions, tests for queue/console behavior, and review of audit expectations. TPM should schedule a short enablement note and ensure the team knows which models are covered and which writes intentionally bypass attribution.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource