Download the PHP package wg-vn/laravel-activitylog-ui without Composer

On this page you can find all versions of the php package wg-vn/laravel-activitylog-ui. 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 laravel-activitylog-ui

Laravel Activity Log UI

Beautiful, modern UI for Spatie's Activity Log

Important: This package assumes you already have Spatie's Activity Log installed and configured in your Laravel application. It does not replace the logging packageโ€”only provides a powerful UI for viewing and analyzing the stored activities.


๐Ÿ“– Documentation

๐Ÿ“š Complete Documentation - Comprehensive guide with advanced features, customization options, and troubleshooting.


โœจ Features

๐Ÿ—’๏ธ Requirements

On Laravel 12 Composer resolves spatie/laravel-activitylog to 5.0.0, because 5.1.0 requires illuminate/* ^13.0. The schema and everything in this package behave the same on both; you are simply pinned to 5.0.x until you move to Laravel 13. Verified against Laravel 12.66 / Spatie 5.0.0 and Laravel 13.25 / Spatie 5.1.0.


๐Ÿš€ Installation

  1. Install the package

  2. (Optional) Publish resources

  3. Run migrations
    Ensure you have already run Spatieโ€™s migrations so the activity_log table exists:

  4. (Recommended on a large log) Add the UIโ€™s indexes
    Spatie indexes the log for lookups by subject and causer. This UI lists everything newest first, which nothing indexes โ€” on a log of 200,000 rows MySQL answers a single page by reading every row and sorting the lot.

    Measured on 204,963 activities, this took the first page from 350 ms to 21 ms and let the analytics queries read an index instead of the table. It is a separate step because activity_log is Spatieโ€™s table and because building an index on an established log locks it while it runs โ€” about a second at that size, longer on a bigger one.

  5. Visit the UI

โš™๏ธ Configuration Overview

A full configuration file is published to config/activitylog-ui.php. Below is a quick reference:

Refer to the inline comments in the file for every available option.


๐Ÿ—„๏ธ Custom Table or Connection

Spatie v5 removed the activitylog.table_name and activitylog.database_connection settings. The supported way to move the log is a custom Activity model:

This UI reads that model's table and connection, so it follows the log wherever you put it โ€” no additional configuration here. Note it reads the location, not the model itself: scopes, casts and accessors you add to your model are not used by the UI's queries.


๐Ÿ” Authorization & Access Control

Access is decided in this order:

  1. authorization.enabled (default true, or ACTIVITYLOG_UI_AUTHORIZATION) โ€” requires a logged-in user, then the gate below. Turning it off removes the login requirement.
  2. access.allowed_users / access.allowed_roles โ€” if either is non-empty it is enforced regardless of step 1, so an allow-list still requires a matching logged-in user even with authorization disabled.
  3. With authorization off and both lists empty, the UI is fully public: anyone who can reach the URL can read who did what, when, and to which record. That combination is for local development only.

Notes:


๐Ÿ“ค Exports


๐Ÿ“ˆ Analytics Dashboard

Enable/disable with features.analytics. Caches stats for analytics.cache_duration seconds (default 1 h).


๐Ÿค Contributing

PRs and issues are welcome!


๐Ÿ“ License

The MIT License (MIT). See LICENSE for details.

Latest Version on Packagist Total Downloads


All versions of laravel-activitylog-ui with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^13.32.0
paperdoc-dev/paperdoc-lib Version ^1.1
spatie/laravel-activitylog Version ^5.1.1
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 wg-vn/laravel-activitylog-ui contains the following files

Loading the files please wait ...