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 3d 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 54% 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

1898d ago

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

v1.5PHP ^7.2.5 | ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a390281a67bb86cdaa248d9d312d189642e42ff7141c0d139f2b5593d9ad2b59?d=identicon)[fnematov](/maintainers/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

[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.

7511.7M13](/packages/wildside-userstamps)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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