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)53401[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 1mo ago

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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUwMTk0MTEsIm5iZiI6MTc3NTAxOTExMSwicGF0aCI6Ii8yNTc3NDI3MC8zNTc4OTM0MzYtNmYyYzNlOTYtMGE0My00MzljLTliODMtMWMzYWJkMDBjZGEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAxVDA0NTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRmNDdjMmM1NmIwNDQ0MjJjMDZjZTI3ZTE5MGEyY2JkYjk2Yzk0MzM4YjU2ODM1MjNjOTUwM2JmMDU1ZmUyMjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cCqrxWjV8dv1qxFjgB3b_y6oe4q8ipraXJy38E6Lnpo)](https://private-user-images.githubusercontent.com/25774270/357893436-6f2c3e96-0a43-439c-9b83-1c3abd00cda2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleS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MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhOWYzODk0Y2FiNWU0YjQ0ZThjN2QyMDVkMTllNjdiZmViNmZhMzdhYjM3NmY4MzAzMzBjMTRmMTgwM2QxMDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.n1betvvj7XsQvMBnSuWrDctpqcAmtr-tvC-Q1ZvJxDs)](https://private-user-images.githubusercontent.com/25774270/357893656-8bb10e71-7847-40a9-9c02-6d66def7fe51.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUwMTk0MTEsIm5iZiI6MTc3NTAxOTExMSwicGF0aCI6Ii8yNTc3NDI3MC8zNTc4OTM2NTYtOGJiMTBlNzEtNzg0Ny00MGE5LTljMDItNmQ2NmRlZjdmZTUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAxVDA0NTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhOWYzODk0Y2FiNWU0YjQ0ZThjN2QyMDVkMTllNjdiZmViNmZhMzdhYjM3NmY4MzAzMzBjMTRmMTgwM2QxMDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.n1betvvj7XsQvMBnSuWrDctpqcAmtr-tvC-Q1ZvJxDs)

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

36

—

LowBetter than 82% of packages

Maintenance46

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

420d 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

[rmsramos/activitylog

This is my package activitylog

309346.5k2](/packages/rmsramos-activitylog)[pxlrbt/filament-activity-log

Spatie's Laravel Activity Log integrated into Filament

223546.2k9](/packages/pxlrbt-filament-activity-log)[bolechen/nova-activitylog

A tool to activity logger to monitor the users of your Laravel Nova.

99683.9k4](/packages/bolechen-nova-activitylog)[muhammadsadeeq/laravel-activitylog-ui

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

17510.1k](/packages/muhammadsadeeq-laravel-activitylog-ui)[noxoua/filament-activity-log

A Laravel package that simplifies activity logging in the Filament admin panel, with support for logging create, update, delete, and restore actions. It integrates with the 'spatie/laravel-activitylog' package and includes a modernized activity log viewing page.

7151.5k](/packages/noxoua-filament-activity-log)[jacobtims/filament-logger

Activity logger for filament

1721.0k4](/packages/jacobtims-filament-logger)

PHPackages © 2026

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