Weave Code
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

Laravel Auditing Laravel Package

owen-it/laravel-auditing

Track and review changes to your Eloquent models with minimal setup. Laravel Auditing stores a history of updates, helps spot discrepancies or suspicious activity, and makes it easy to retrieve and display audit records in your Laravel app.

View on GitHub
Deep Wiki
Context7
v13.0.0

Added

  • dynamic resolvers | Option to add/disable resolvers in config
  • Resolvers extend same contract and does not enforce a specific returntype at contract level
  • a new "exclude" config key for setting a global default exclude (#637)
v12.0.0

Added

  • PHP 8.0 support

Removed

  • Illuminate 5.8 support
v9.0.0

Added

  • Illuminate 5.8 support
v8.0.4

Changed

  • Make the auditable() and user() method return types loose
v8.0.3

Fixed

  • Cast auditable_id property by default to avoid transitionTo() errors (#432)
v8.0.2

Fixed

  • Lumen compatibility issue (#447)
v8.0.1

Added

  • Illuminate 5.7 support
v8.0.0

Added

  • AttributeModifier and AttributeEncoder interfaces (#437)

Changed

  • AttributeRedactor replaces AuditRedactor

Removed

  • audit.redact boolean configuration entry
  • Unnecessary Artisan commands for publishing the configuration/migration
v7.0.1

Fixed

  • Illuminate 5.2 compatibility issues (#431)
v7.0.0

Added

  • Audit Multi User feature (#421)
v6.1.1

Fixed

  • Audit presentation issue when using trans() or [@lang](https://github.com/lang)() (#418)
v6.1.0

Added

  • Audit redactor feature (#395)

Changed

  • Minor optimisations
  • Increase test coverage to 100%

Fixed

  • deleted_at attribute exclusion from the Audit
  • InvalidArgumentExceptionTrailing when using a different $dateFormat (#409)
v6.0.2

Changed

  • Minor optimisations

Fixed

  • Illuminate 5.2/5.3 incompatibility issue (#401)
v6.0.1

Added

  • Ability to quickly enable/disable auditing (#387)
v6.0.0

Added

  • Resolver classes & interfaces for IP Address, URL, User Agent and User (#369)
  • Laravel 5.6 support
  • Scrutinizer CI integration

Changed

  • Rename UserResolver method to resolve()
  • Updated the configuration file structure to accommodate the new resolvers
  • Refactor the prune() method from the Database driver
  • Increase test coverage
  • Updated dev dependencies

Fixed

  • Hardcode the default AuditDriver value in the Auditor to avoid chicken/egg situation
v5.0.4

Fixed

  • Issue with Auditable resolveUserAgent() method (#372)
v5.0.3

Fixed

  • Lumen installation issue (#364)
v5.0.2

Fixed

  • Bump the minimum PHP version required to 7.0.13 (#354)
  • Take MorphMap into account (#357)
v5.0.1

Fixed

  • Typo in the migration stub (#356)
v5.0.0

Added

  • Custom exceptions
  • Ability to tag audits (#283)
  • New transitionTo() and getAuditEvent() methods to the Auditable contract
  • Support for the retrieved Eloquent event, added in v5.5 (#343)

Changed

  • Use PHP 7 features (scalar type/return type declarations, null coalescing operator)
  • Improved testing
  • Honour DateTime attributes, when resolving Audit data
  • Rename getAuditableEvents() to getAuditEvents()
  • Allow setting global Audit events (#342), strict, threshold and timestamps in the configuration file

Removed

  • PHP 5.x support
  • Closure / callable support for User id resolver
v4.1.4

Added

  • Ability to define custom methods to handle events (#324)
v4.1.3

Added

  • CONTRIBUTING document

Changed

  • Updated the URL column type from VARCHAR to TEXT in the migration stub

Fixed

  • Set the default value of the resolver to a FQCN, instead of a Closure (#290)
v4.1.2

Changed

  • [GitHub] Updated issue template

Fixed

  • [Audit] Simplify User relation check (#282)
v4.1.1

Changed

  • [Audit] Improve test coverage

Fixed

  • [composer] stricter dependency version support (#269)
  • [Audit] Make sure the User relation is set before fetching attributes (#276)
v4.1.0

Added

  • Implemented Audit contract, enabling classes to extend other model types (#211)
  • The updated_at attribute is now part of the Audit model. Don't forget to update your audits table!
  • Added Laravel 5.5 Auto-Discovery support

Fixed

  • Allow the User primary and foreign key to be specified in the configuration (#251)
v4.0.7

Added

  • GitHub issue template file

Fixed

  • Properly fixed issue (#233)
v4.0.6

Fixed

  • Calling a member function on null (#244)
v4.0.5

Fixed

  • Removed problematic ORDER BY from the audits() relation method in the Auditable trait
v4.0.4

Added

  • Log the user agent string (#224)

Changed

  • Updated migration stub to use the DB driver (#220)

Fixed

  • Wrong class name for custom audit drivers (#226)
  • Use standards compliant SQL (#225)
  • Prevent creating an updated audit when restoring a model (#233)
v4.0.3

Added

  • Changelog file

Fixed

  • Removal count in Database driver (#215)
v4.0.2

Added

  • OwenIt\Auditing\Contracts\UserResolver interface
  • More Auditable tests

Fixed

  • Non auditable events cause a RuntimeException to be thrown (#212)
  • Callable values prevent the configuration from being cached (#213)
v4.0.1

Added

  • Dynamic attribute getters
  • More Auditable tests

Fixed

  • Trait attributes can't be overridden by class implementing Auditable (#205)
  • Branch alias
v4.0.0

Changed

  • Cleaner codebase
  • Better test coverage
  • Auditable attribute mutators and casts will be honoured

Fixed

  • Only modified attributes are stored in the Audit
  • Lumen support

Removed

  • Queue support
  • Auditable model custom messages/fields
Note

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport