Download the PHP package tnchalise/tiks without Composer
On this page you can find all versions of the php package tnchalise/tiks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tiks
TIKS Assure audit
Ledger backups every in a while
- Auto logs all model classes
- Make new model as recordable
- Archive ledgers and daily sync
Installation
-
Install Tiks-Audit
composer require tnchalise/tiks
-
Edit the
config/app.php
to add following: -
Publish Tiks-Audit
php artisan vendor:publish --tag="accountant-configuration"
php artisan vendor:publish --tag="accountant-migrations"
php artisan vendor:publish --provider="Tnchalise\Tiks\ServiceProvider"
-
Adjust
.env
to have following -
Set up secondary DB connection named
audit
inconfig/databas.php
-
Run Migrations
- Repalce existing model to extend RecordableModel (optional)
sh sh/make-model-auditable.sh
from root directory, if necessary adjust path insh/make-model-auditable.sh
Usage
Create a new recordable model
php artisan make:recordable-model <name>
Schedule ledger archive
$schedule->command('php artisan archive:ledgers')->->saturdays();
All versions of tiks with dependencies
PHP Build Version
Package Version
The package tnchalise/tiks contains the following files
Loading the files please wait ....