Download the PHP package pedr0cazz/spatie-log-ui without Composer
On this page you can find all versions of the php package pedr0cazz/spatie-log-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pedr0cazz/spatie-log-ui
More information about pedr0cazz/spatie-log-ui
Files in pedr0cazz/spatie-log-ui
Package spatie-log-ui
Short Description A simple package to view Spatie activity logs in a UI
License MIT
Informations about the package spatie-log-ui
Spatie Log UI
A simple Laravel package that provides a user interface to view and manage activity logs generated by the Spatie Laravel Activitylog package.
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.
Requirements
- PHP 8.2 or higher
- Laravel 8.x, 9.x, or 10.x
- Spatie Laravel Activitylog
- Yajra DataTables
Installation
To install the package via Composer, run the following command:
Publish Assets
After installing the package, you may want to publish the package's views to customize them:
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:
Make sure you are logged in and have the necessary authentication middleware applied (auth
and verified
).
Configuration
If you need to customize the package further, you can:
- Publish and Edit Views: Customize the look and feel by editing the published views.
- Customize Logic: Override or extend the functionality by editing the controllers and services if necessary.
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
If you want to contribute or customize the package for your own needs:
- Clone the repository.
- Install the dependencies using
composer install
. - Make your changes and submit a pull request if applicable.
License
This package is open-sourced software licensed under the MIT license.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
Support
If you encounter any issues or have any questions, please open an issue on GitHub.
Acknowledgements
This package is built on top of the excellent Spatie Laravel Activitylog package. A big thank you to the Spatie team for their hard work and dedication to the Laravel community.
Key Sections:
- Introduction: Briefly explains what the package does.
- Features: Highlights the main features of the package.
- Requirements: Lists the required versions of PHP, Laravel, and other dependencies.
- Installation: Provides clear instructions on how to install the package using Composer.
- Usage: Details how to access the UI and configure the package.
- Routing: Lists the routes that the package registers.
- Development: Information for developers who want to contribute or customize the package.
- License: Specifies the license under which the package is released.
- Contributing: Encourages contributions and provides guidance on how to do so.
- Support: Directs users to GitHub for support.
- Acknowledgements: Credits the Spatie team for their underlying package.
All versions of spatie-log-ui with dependencies
spatie/laravel-activitylog Version ^4.0
yajra/laravel-datatables-oracle Version ^9.0 || ^10.0