Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Historiae provides history logging support to Laravel.

Notifications You must be signed in to change notification settings

lais-huol/laravel-historiae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Historiae

Total Downloads Latest Stable Version License

Introduction

Historiae provides history logging support to Laravel.

License

Historiae is open-sourced software licensed under the MIT license.

Installation

To get started, install Historiae via the Composer package manager:

composer require lais/historiae

Configuration

After installing the library, register the Historiae\HistoriaeServiceProvider in your config/app.php configuration file:

'providers' => [
    // Other service providers...

    Historiae\HistoriaeServiceProvider::class,
],

The Historiae service provider registers its own database migration directory with the framework, so you should migrate your database after registering the provider. The Historiae migrations will create the tables your application needs to store access logs and change logs:

php artisan migrate

Next, you should run the vendor:publish command. This command will publish Historiae views, translations and configuration files, so you'll be able to customize your application as you see fit.

php artisan vendor:publish