PHPackages                             pedr0cazz/spatie-log-ui - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. pedr0cazz/spatie-log-ui

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

pedr0cazz/spatie-log-ui
=======================

A simple package to view Spatie activity logs in a UI

v1.5.0(1y ago)54061[1 issues](https://github.com/pedr0cazz/spatie-log-ui/issues)[1 PRs](https://github.com/pedr0cazz/spatie-log-ui/pulls)MITBladePHP &gt;=8.2

Since Aug 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/pedr0cazz/spatie-log-ui)[ Packagist](https://packagist.org/packages/pedr0cazz/spatie-log-ui)[ RSS](/packages/pedr0cazz-spatie-log-ui/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (2)Versions (7)Used By (0)

Spatie Log UI
=============

[](#spatie-log-ui)

[![Latest Stable Version](https://camo.githubusercontent.com/f842d999b2eb08afcc803bd5c3f596d3855316a6ca84a9f20c11b445488a1375/68747470733a2f2f706f7365722e707567782e6f72672f706564723063617a7a2f7370617469652d6c6f672d75692f76657273696f6e)](https://packagist.org/packages/pedr0cazz/spatie-log-ui)[![Total Downloads](https://camo.githubusercontent.com/985991e7241ecbd2e9a13cf54c77644438ce96c87b364f0b64d3cbf174032300/68747470733a2f2f706f7365722e707567782e6f72672f706564723063617a7a2f7370617469652d6c6f672d75692f646f776e6c6f616473)](https://packagist.org/packages/pedr0cazz/spatie-log-ui)[![License](https://camo.githubusercontent.com/624212a79d69621acb532242b30053db3e1dd64d3e1fe973e3c4974cbf7a5243/68747470733a2f2f706f7365722e707567782e6f72672f706564723063617a7a2f7370617469652d6c6f672d75692f6c6963656e7365)](https://packagist.org/packages/pedr0cazz/spatie-log-ui)

A simple Laravel package that provides a user interface to view and manage activity logs generated by the [Spatie Laravel Activitylog](https://github.com/spatie/laravel-activitylog) package.

Features
--------

[](#features)

- **View Activity Logs**: See a detailed log of all activities in your Laravel application.
- **Search and Filter**: Easily search and filter logs by various criteria, such as action type, subject ID, causer email, etc.
- **Responsive UI**: Built with Bootstrap 5, ensuring a responsive and modern interface.

[![image](https://private-user-images.githubusercontent.com/25774270/357893436-6f2c3e96-0a43-439c-9b83-1c3abd00cda2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIxMjY2NDcsIm5iZiI6MTc4MjEyNjM0NywicGF0aCI6Ii8yNTc3NDI3MC8zNTc4OTM0MzYtNmYyYzNlOTYtMGE0My00MzljLTliODMtMWMzYWJkMDBjZGEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjIyVDExMDU0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiNDc0ODQzZDM0Y2ZlMTkzMmRmOTEyNzY2MWMyZjJmNGYwMzQ0YjZkYzQ1YmZiNTEzYzA5YjMyMWFkYTRkN2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.e-HhHKlDoXIZuSaeglDYb4yqfgQd8SJK5grEcNAqlIQ)](https://private-user-images.githubusercontent.com/25774270/357893436-6f2c3e96-0a43-439c-9b83-1c3abd00cda2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ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N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.otENaDmnxrcgryXCKARgEutRldHxwlK3kK5qanjcLFs)

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel 8.x, 9.x, or 10.x
- [Spatie Laravel Activitylog](https://github.com/spatie/laravel-activitylog)
- [Yajra DataTables](https://yajrabox.com/docs/laravel-datatables)

Installation
------------

[](#installation)

To install the package via Composer, run the following command:

```
composer require pedr0cazz/spatie-log-ui
```

Publish Assets
--------------

[](#publish-assets)

After installing the package, you may want to publish the package's views to customize them:

```
php artisan vendor:publish --tag=spatie-log-ui-views
```

Usage
-----

[](#usage)

Once installed, the package will automatically register its routes and service provider. You can access the UI by visiting the following route in your browser:

```
/spatie-ui

```

Make sure you are logged in and have the necessary authentication middleware applied (`auth` and `verified`).

### Configuration

[](#configuration)

If you need to customize the package further, you can:

1. **Publish and Edit Views**: Customize the look and feel by editing the published views.
2. **Customize Logic**: Override or extend the functionality by editing the controllers and services if necessary.

Routing
-------

[](#routing)

The following routes are registered by this package:

- `GET /spatie-ui` - Displays the activity log UI.
- `GET /spatie-ui/get-ajax-log-data` - Fetches log data via AJAX for DataTables.
- `POST /spatie-ui/get-ajax-log-details` - Fetches detailed information for a specific log entry.

Development
-----------

[](#development)

If you want to contribute or customize the package for your own needs:

1. Clone the repository.
2. Install the dependencies using `composer install`.
3. Make your changes and submit a pull request if applicable.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a pull request or open an issue.

Support
-------

[](#support)

If you encounter any issues or have any questions, please open an issue on [GitHub](https://github.com/pedr0cazz/spatie-log-ui).

Acknowledgements
----------------

[](#acknowledgements)

This package is built on top of the excellent [Spatie Laravel Activitylog](https://github.com/spatie/laravel-activitylog) package. A big thank you to the Spatie team for their hard work and dedication to the Laravel community.

### Key Sections:

[](#key-sections)

1. **Introduction**: Briefly explains what the package does.
2. **Features**: Highlights the main features of the package.
3. **Requirements**: Lists the required versions of PHP, Laravel, and other dependencies.
4. **Installation**: Provides clear instructions on how to install the package using Composer.
5. **Usage**: Details how to access the UI and configure the package.
6. **Routing**: Lists the routes that the package registers.
7. **Development**: Information for developers who want to contribute or customize the package.
8. **License**: Specifies the license under which the package is released.
9. **Contributing**: Encourages contributions and provides guidance on how to do so.
10. **Support**: Directs users to GitHub for support.
11. **Acknowledgements**: Credits the Spatie team for their underlying package.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~43 days

Recently: every ~54 days

Total

6

Last Release

474d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2567d4ddb1106c8908ad7bc47939e8d2e4c6cc5c65a9de532fa544a4d30997fd?d=identicon)[pedr0cazz](/maintainers/pedr0cazz)

---

Top Contributors

[![pedr0caz](https://avatars.githubusercontent.com/u/693924?v=4)](https://github.com/pedr0caz "pedr0caz (11 commits)")[![pedr0cazz](https://avatars.githubusercontent.com/u/25774270?v=4)](https://github.com/pedr0cazz "pedr0cazz (6 commits)")

### Embed Badge

![Health badge](/badges/pedr0cazz-spatie-log-ui/health.svg)

```
[![Health](https://phpackages.com/badges/pedr0cazz-spatie-log-ui/health.svg)](https://phpackages.com/packages/pedr0cazz-spatie-log-ui)
```

###  Alternatives

[pxlrbt/filament-activity-log

Spatie's Laravel Activity Log integrated into Filament

230717.9k13](/packages/pxlrbt-filament-activity-log)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[muhammadsadeeq/laravel-activitylog-ui

A beautiful, modern UI for Spatie's Activity Log with advanced filtering, analytics, and real-time features.

17717.0k](/packages/muhammadsadeeq-laravel-activitylog-ui)[alizharb/filament-activity-log

A powerful, feature-rich activity logging solution for FilamentPHP v4 &amp; v5 with timeline views, dashboard widgets, and revert actions.

2871.8k3](/packages/alizharb-filament-activity-log)[jacobtims/filament-logger

Activity logger for filament

1739.2k10](/packages/jacobtims-filament-logger)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
