PHPackages                             tobidsn/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. tobidsn/laravel-userstamps

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

tobidsn/laravel-userstamps
==========================

A simple Laravel package for Eloquent Model user specific feilds.

v5.0.1(3y ago)118MITPHPPHP ^8.0.2

Since Aug 6Pushed 3y agoCompare

[ Source](https://github.com/tobidsn/laravel-userstamps)[ Packagist](https://packagist.org/packages/tobidsn/laravel-userstamps)[ Docs](https://github.com/tobidsn/laravel-userstamps)[ RSS](/packages/tobidsn-laravel-userstamps/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

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

[](#laravel-userstamps)

Laravel Userstamps is a simple Laravel package for your Eloquent Model user specific feilds. 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

```
"repositories": [
   {
     "url": "https://github.com/tobidsn/laravel-userstamps.git",

      "type": "git"
    }
 ],

```

2. Add the package name in require with the branch name after the dev:

```
"tobidsn/laravel-userstamps": "dev-master"

```

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->increments('id');
    $table->string('name', 100);
    $table->userstamps();
    $table->timestamps();
});
```

Then use `UserstampsTrait` on your model.

```
namespace App;

use Tobidsn\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();
});
```

Original :

And your done!

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

2

Last Release

1382d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fda282c52babfdf68807b12c5430737578d2099f6a5dc8527c07d474af3a6030?d=identicon)[tobidsn](/maintainers/tobidsn)

---

Top Contributors

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

---

Tags

laraveleloquentuserstampscreated\_byupdated\_bydeleted\_bytobidsn

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/tobidsn-laravel-userstamps/health.svg)](https://phpackages.com/packages/tobidsn-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)
