Download the PHP package sinarajabpour1998/log-manager without Composer
On this page you can find all versions of the php package sinarajabpour1998/log-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sinarajabpour1998/log-manager
More information about sinarajabpour1998/log-manager
Files in sinarajabpour1998/log-manager
Package log-manager
Short Description This package provides log manager in laravel apps.
License MIT
Homepage https://github.com/sinarajabpour1998/log-manager
Informations about the package log-manager
Log Manager
This package provides log manager for laravel apps.
Installation
Using Composer :
packagist : log-manager
Usage
- Publish blade files
** Please note if you already published the vendor, for updates you can run the following command :
-
Run migration command :
- Add the following tag in your sidebar layout :
or shorten tag :
Save custom logs
- First define some log types in log-manager config :
Types structure: "type" => "type_name"
- Add the following code anywhere you want (be careful about namespace)
Done ! now all the logs will be saved in the logs table
Save system error logs
Edit the following file :
Your register method in Exception handler must be like this :
Done ! now all the system error logs will be saved in the error_logs table
Config options
You can set custom permissions for each section of this package. make sure that you already specified permissions in a seeder.
Also you need log_types before get started with custom logs.
All versions of log-manager with dependencies
laravel/framework Version 7.*|8.*
sinarajabpour1998/alpha-helper Version 1.*