Download the PHP package polashmahmud/history without Composer

On this page you can find all versions of the php package polashmahmud/history. 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 history

History Tracking System - Laravel Package

History Tracking System is a Laravel package that provides history tracking functionality for your Eloquent models. Easily add and manage history for your models with this simple and flexible package.

Features

Installation

To install History Tracking System, simply run:

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

Then, migrate your database:

Usage

History Tracking Models

To make a model history trackable, use the Polashmahmud\History\Historyable trait on the model:

that's it! Now your model is history trackable. When a model is updated, a history record will be created for it. The history record will contain the model's previous and new values. The history record will also contain the user who made the change. If the user is not logged in, the history record will contain the user's IP address.

Retrieving History

To retrieve the history of a model, use the history method:

The history method will return a collection of history records. Each history record will contain the model's previous and new values, the user who made the change, and the date and time the change was made.

Query with changedBy method to get the history records that were made by a specific user:

History Tracking Ignore Columns

By default, updated_at, password, remember_token and email_verified_at columns are ignored from history tracking. If you want to ignore more columns, you can use ignoreHistoryColumns function in your model.

History Tracking Scopes

History Tracking System provides some useful scopes to help you retrieve history records.

Coming soon...

Contributing

Thank you for considering contributing to History Tracking ! Please see CONTRIBUTING for details.

License

History Tracking is open-sourced software licensed under the MIT license.


All versions of history with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5|^8.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.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 polashmahmud/history contains the following files

Loading the files please wait ....