PHPackages                             fnematov/laravel-userstamps - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. fnematov/laravel-userstamps

ActiveLibrary[Database &amp; ORM](/categories/database)

fnematov/laravel-userstamps
===========================

A simple Laravel package for Eloquent Model user specific fields.

v1.5(5y ago)260MITPHPPHP ^7.2.5 | ^8.0

Since Mar 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fnematov/laravel-userstamps)[ Packagist](https://packagist.org/packages/fnematov/laravel-userstamps)[ Docs](https://github.com/fnematov/laravel-userstamps)[ RSS](/packages/fnematov-laravel-userstamps/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Laravel Userstamps
==================

[](#laravel-userstamps)

Laravel Userstamps is a simple Laravel package for your Eloquent Model user specific fields. This package automatically inserts/updates an user id on your table on who created, last updated and deleted the record.

Install
-------

[](#install)

1. Add repositories in composer.json

```
composer require fnematov/laravel-userstamps

```

Usage
-----

[](#usage)

Update your model's migration and add `created_by`, `updated_by` and `deleted_by` field using the `userstamps()` blueprint macro.

```
Schema::create('users', function (Blueprint $table) {
    $table->userstamps();
});
```

Then use `UserstampsTrait` on your model.

```
namespace App;

use Fnematov\Userstamps\UserstampsTrait;

class User extends Model
{
    use UserstampsTrait;
}
```

Dropping columns
----------------

[](#dropping-columns)

You can drop auditable columns using `dropUserstamps()` method.

```
Schema::create('users', function (Blueprint $table) {
    $table->dropUserstamps();
});
```

And your done!

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

1950d ago

PHP version history (2 changes)v1.0PHP ^7.2.5

v1.5PHP ^7.2.5 | ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25400796?v=4)[Farhodjon Nematov](/maintainers/fnematov)[@fnematov](https://github.com/fnematov)

---

Top Contributors

[![fnematov](https://avatars.githubusercontent.com/u/25400796?v=4)](https://github.com/fnematov "fnematov (11 commits)")

---

Tags

laraveleloquentuserstampscreated\_byupdated\_bydeleted\_byfnematov

### Embed Badge

![Health badge](/badges/fnematov-laravel-userstamps/health.svg)

```
[![Health](https://phpackages.com/badges/fnematov-laravel-userstamps/health.svg)](https://phpackages.com/packages/fnematov-laravel-userstamps)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k32.6M46](/packages/kirschbaum-development-eloquent-power-joins)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7551.9M22](/packages/wildside-userstamps)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
