Download the PHP package jeevanjoshi/laravel-audit-trail without Composer

On this page you can find all versions of the php package jeevanjoshi/laravel-audit-trail. 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-audit-trail

Laravel Audit Trail

A powerful, zero-configuration audit trail package for Laravel. Automatically tracks every create, update, and delete on your Eloquent models with a beautiful built-in dashboard.

Features

Requirements

Installation

Install via Composer:

The package will be auto-discovered by Laravel. No manual configuration needed.

Setup

1. Publish and run the migration

This creates the audit_trails table in your database.

2. Add the trait to any model you want to track

That's it. Every create, update, and delete on this model is now tracked automatically.

Dashboard

Visit the audit trail dashboard at: https://your-app.com/audit-trail

The dashboard shows:

By default the dashboard is protected by auth middleware. Make sure your app has authentication set up.

Querying Audit History

Reverting Changes

Silent Updates (without logging)

Useful for updates that aren't meaningful — like updating timestamps, counters, or cache fields.

Excluding Fields Per Model

Configuration

Publish the config file:

This creates config/audit-trail.php in your application:

Customizing the Dashboard UI

Publish the views to customize them:

This copies the views to resources/views/vendor/audit-trail/ in your application. Edit them freely — they won't be overwritten when you update the package.

Environment Variables

Add these to your .env to configure without touching the config file:

Real World Use Cases

Available Scopes

Security

The dashboard is protected by auth middleware by default. To add additional protection:

Sensitive fields like password and remember_token are never logged regardless of configuration.

Testing

Cleaning Old Logs

Run the cleanup command manually:

The command will:

Changelog

v1.0.0

License

MIT License. See LICENSE for more information.

Author

Jeevan Joshi


All versions of laravel-audit-trail with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/database Version ^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
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 jeevanjoshi/laravel-audit-trail contains the following files

Loading the files please wait ...