Download the PHP package adrolli/filament-spatie-laravel-activitylog without Composer

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

View your activity logs inside of Filament.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package provides a Filament resource that shows you all of the activity logs created using the spatie/laravel-activitylog package. It also provides a relationship manager for related models.

Installation

You can install the package via composer:

You can publish the config file with:

This is the contents of the published config file:

Usage

This package will automatically register the ActivityResource class specified in the configuration resource.filament-resource. You'll be able to see it when you visit your Filament admin panel.

Customising the ActivityResource

You can swap out the ActivityResource used by publishing the configuration file and updating the resource.filament-resource value. Use this to create your own ActivityResource class and extend the original at AlexJustesen\FilamentSpatieLaravelActivitylog\Resources\ActivityResource::class. This will allow you to customise everything such as the views, table, form and permissions. If you wish to change the resource on List and View page be sure to replace the getPages method on the new resource and create your own version of the ListPage and ViewPage classes to reference the custom ActivityResource.

Customising the group

You can customise the navigation group for the ActivityResource by publishing the configuration file and updating the resource.group value.

Customising the sorting

You can customise the navigation group for the ActivityResource by publishing the configuration file and updating the resource.sort value.

Relationship manager

If you have a model that uses the Spatie\Activitylog\Traits\LogsActivity trait, you can add the AlexJustesen\FilamentSpatieLaravelActivitylog\RelationManagers\ActivitiesRelationManager relationship manager to your Filament resource to display all of the activity logs that are performed on your model.

Show the subject column on custom relation managers

When using the relationship manager the subject column isn't shown because the subject is the parent record. There are some cases (like when aggregating activities from child records) where the subject might be another record, and you want to show this column. In those cases you can add the next code to your relation manager:

Testing

Changelog

Please see RELEASES for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-spatie-laravel-activitylog with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0 || ^8.1 || ^8.2
filament/filament Version ^3.0
illuminate/contracts Version ^8.0 || ^9.0 || ^10.0
spatie/laravel-activitylog Version ^4.3
spatie/laravel-package-tools Version ^1.9.2
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 adrolli/filament-spatie-laravel-activitylog contains the following files

Loading the files please wait ....