Um pacote Laravel para registar operações CRUD efetuadas nos modelos Eloquent.
Funcionalidades
Add the package to your Laravel app using composer
composer require codetech/laravel-loggable
Register the package's service provider in config/app.php. In Laravel versions 5.5 and beyond, this step can be skipped if package auto-discovery is enabled.
'providers' => [
...
CodeTech\Loggable\Providers\LoggableServiceProvider::class,
...
];
Execute the next Artisan command to run the migrations.
php artisan migrate
To start logging CRUD operations simply use the trait on your models.
class Post extends Model
{
use Loggable;
...
codetech/laravel-loggable is open-sourced software licensed under the MIT license.
Visite a página do repositório no GitHub para mais informações sobre este projeto Open Source.