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
- Host: GitHub
- URL: https://github.com/amdad121/record-activity-laravel
- Owner: amdad121
- License: mit
- Created: 2023-12-10T19:07:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-07T20:00:59.000Z (4 months ago)
- Last Synced: 2025-04-18T10:23:44.453Z (3 months ago)
- Topics: laravel, record, user-activity
- Language: PHP
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# User activity for Laravel
[](https://packagist.org/packages/amdadulhaq/record-activity-laravel)
[](https://github.com/amdad121/record-activity-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/amdad121/record-activity-laravel/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[](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->withHasCreatorAndUpdater();
$table->withHasDeleter();
});
```Now this traits add on your model and add fillable property.
```php