charlgottschalk / laravel-aware
A simple auditing package to keep track of your Eloquent model changes
Fund package maintenance!
CharlGottschalk
Requires
- php: ^8.1
- illuminate/contracts: ^10.0||^11.0||^12.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9||^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.3||^2.0
- phpstan/phpstan-deprecation-rules: ^1.1||^2.0
- phpstan/phpstan-phpunit: ^1.3||^2.0
This package is auto-updated.
Last update: 2025-05-26 20:51:22 UTC
README
Introduction
Aware is a simple tool that tracks changes to Eloquent models and provides a way to access the changes made to them.
It uses Laravel's built-in event system to listen for model events and records the changes made to the model's attributes by creating trackers that are dispatched with jobs.
Installation
You can install the package via composer:
composer require charlgottschalk/laravel-aware
Run the installation command:
php artisan aware:install
Run the migrations to create the necessary database tables:
php artisan migrate
You're ready to go and tracking will happen automatically.
Documentation
For more in-depth information and setup, please read the documentation.
Credits
License
The MIT License (MIT). Please see License File for more information.