Download the PHP package kouloughliapp/activity-log without Composer

On this page you can find all versions of the php package kouloughliapp/activity-log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package activity-log

User Activity Log plugin for Kouloughli - Advanced PHP Login and User Management system.

This plugin was originaly part of the Kouloughli itself, but it has been extracted as a separate plugin starting from Kouloughli 4.

Installation

This plugin requires Kouloughli 4.0.0 or greater.

Installation via Composer

To install the plugin first you will need to pull it via composer by running the following command

The composer will install the plugin for you as well as it's dependencies.

The next step is to register the plugin by adding the \Kouloughli\UserActivity\UserActivity::class to the list of Kouloughli plugins inside the KouloughliServiceProvider:

As soon as your plugin is registered, you should publish the plugins migrations by running the following command:

And, as the last step of the installation, you will need to run the following commands to make all the necessary database modifications:

At this point the plugin will be fully installed and ready to go. It is configured to listen for most of the events that are coming from Kouloughli and to put the into the activity log.

Manual Installation

If you plan to make the modifications to the plugin and customize it to fit your needs, it's much easier if you add it to your project manually.

To do so, you will need to download the ZIP archive from GitHub by clicking the green "Clone or download" button and then choosing the "Download ZIP" option from the dropdown.

Once you have the ZIP file on your computer, extract it to the plugins/ActivityLog folder (you will need to create this folder since it probably won't be present in your Kouloughli installation).

Next step is to update your main composer.json file located in Kouloughli's root directory and add the following object to the repositories array:

This will tell the composer that your plugin is located in /plugins/ActivityLog directory and that it should be installed from there.

Now, add the following to the composer's require section

And run composer update.

Composer will now install the plugin from your local directory instead of pulling it from GitHub, which means that you will be able to make the changes to the plugin itself and customize it to fit your needs.

The rest of the process is the same as when the plugin is installed by directly fetching it via composer from the GitHub repository, so you will need to do all the same steps as above, which in short involves updating the KouloughliServiceProvider and running the commands to publish plugin's static assets and to update the database.

Dashboard Widgets

A plugin provides user activity dashboard widget that is visible for all users with a role User.

To activate the widget add the Kouloughli\UserActivity\Widgets\ActivityWidget::class to the widgets array in KouloughliServiceProvider:

License

This plugin is an open-source software licensed under the MIT license.


All versions of activity-log with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
kouloughliapp/plugins Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kouloughliapp/activity-log contains the following files

Loading the files please wait ....