codetech / laravel-loggable
Laravel package for handling publishable resources.
v0.0.1-beta
2020-04-14 22:44 UTC
Requires
- php: ^7.2
- laravel/framework: ~6.0
This package is auto-updated.
Last update: 2025-05-05 15:30:19 UTC
README
Laravel Loggable
Laravel package to log CRUD operations.
Installation
Add the package to your Laravel app using composer
composer require codetech/laravel-loggable
Service Provider
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,
...
];
Migrations
Execute the next Artisan command to run the migrations.
php artisan migrate
Usage
To start logging CRUD operations simply use the trait on your models.
class Post extends Model
{
use Loggable;
...
License
codetech/laravel-loggable is open-sourced software licensed under the MIT license.
About CodeTech
CodeTech is a web development agency based on Matosinhos, Portugal. Oh, and we LOVE Laravel!