Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amdad121/record-activity-laravel

User activity for Laravel
https://github.com/amdad121/record-activity-laravel

laravel record user-activity

Last synced: 3 months ago
JSON representation

User activity for Laravel

Awesome Lists containing this project

README

        

# User activity for Laravel

[![Latest Version on Packagist](https://img.shields.io/packagist/v/amdadulhaq/record-activity-laravel.svg?style=flat-square)](https://packagist.org/packages/amdadulhaq/record-activity-laravel)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/amdad121/record-activity-laravel/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/amdad121/record-activity-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/amdad121/record-activity-laravel/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/amdad121/record-activity-laravel/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/amdadulhaq/record-activity-laravel.svg?style=flat-square)](https://packagist.org/packages/amdadulhaq/record-activity-laravel)

created by, updated by and deleted by added on model of your Laravel.

## Installation

You can install the package via composer:

```bash
composer require amdadulhaq/record-activity-laravel
```

## Usage

Open your migration file and add this table column. both are optional.

```php
Schema::create('users', function (Blueprint $table) {
// ...
$table->withCreatedByAndUpdatedBy();
$table->withDeletedBy();
});
```

Now this traits add on your model and add fillable property.

```php