Download the PHP package learncodeweb/activitylog without Composer
On this page you can find all versions of the php package learncodeweb/activitylog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download learncodeweb/activitylog
More information about learncodeweb/activitylog
Files in learncodeweb/activitylog
Package activitylog
Short Description Activity log will manage all the activity of the web page by user. This package is best to track user activity in any admin/user panel after login. tested with Laravel 8,9,10,11
License MIT
Homepage https://learncodeweb.com/web-development/resize-and-upload-multiple-images-using-php-and-ajax/
Informations about the package activitylog
Activity Log
This package is only for Laravel >=8 Framework.
Manual installation process.
On the root of your project just run the below command download this DIR and paste it into the activitylog folder. We don't have any package so you have to do it manually. ` After copying, the code goes to that directory and updates the composer for that use below command. ` Simple use Just add the below line in your root composer.json in the autoload section. ` The composer.json must look like the below after adding the like. ` After adding run the below command to load the package in your composer. `Composer Installation
Open composer.json
and add the below line under the repositories array. If you have any other package then append this package. The must look like below.
` After adding the above code try to install the package in your project.
`
Add Service
After the composer add the service provider in your config/app.php
. Open file config/app.php and add the below line under the provider's array, better to add it in the packages section.
`
Migration Export
For migration, export runs the below command. ` After migration publishes just run a simple command to add a table.
`
Config Export
You can also export the config file into your project root config, this function empowers you to change things if you want. With the config export, you can set the delete limit in your config file and also you can add route PATH/NAMES where you don't want to save activity.
To export the config on your root run the below command.
After
publish config` you can set the parameters as per your need. Below is the list of all available parameters.
` Set config in settings ignore_route [If set system ignore to create the activity on that route]
You can also delete the data and change the default limit by editing the config file config\lcw_activity_log_config.php. Pass the value in months default is set at 3 Months.
Define in months only
` Default View There is a default view to see the logs but you can make your own log view in your app. With this package, one route will be created which is mentioned below.
Route Name
`
URI
` You can create your own view and get the log data by using the below method in your controller.
You also can delete the log by calling the logDelete() method like below in your controller.
Custom Creation
You can create a custom activity log with the below method. The parameters you need to pass in the custom log are given below. `
` If you need any help ask me, Thank you.