PHPackages                             buchin/trait-generator - 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. buchin/trait-generator

ActiveLibrary

buchin/trait-generator
======================

A Laravel Generator For Creating New Traits

1.0(8y ago)1575MITPHPPHP ^7.0

Since Oct 15Pushed 4y agoCompare

[ Source](https://github.com/buchin/trait-generator)[ Packagist](https://packagist.org/packages/buchin/trait-generator)[ RSS](/packages/buchin-trait-generator/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Trait Generator [![Build Status](https://camo.githubusercontent.com/a5902499f4f26801bb7ae7547236636e8b6b5a66849ff85dafd4c88f9806b17e/68747470733a2f2f7472617669732d63692e636f6d2f6d7573616d616d61736f6f642f74726169742d67656e657261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/musamamasood/trait-generator)
===========================================================================================================================================================================================================================================================================================================================================

[](#laravel-trait-generator-)

Laravel Generator For Creating New Traits

Installation
------------

[](#installation)

Install using composer

```
composer require cedextech/trait-generator --dev

```

Add the service provider, open `config/app.php`, and add a new item to the providers array.

```
Cedextech\TraitGenerator\ServiceProvider::class,

```

That's it! You're all set to go. Run the `php artisan` command from the Terminal to see the new `make:trait` command.

Usage
-----

[](#usage)

```
php artisan make:trait UserTrait

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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

Unknown

Total

1

Last Release

3136d ago

### Community

Maintainers

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

---

Top Contributors

[![musamamasood](https://avatars.githubusercontent.com/u/3241580?v=4)](https://github.com/musamamasood "musamamasood (6 commits)")[![devkiran](https://avatars.githubusercontent.com/u/4593041?v=4)](https://github.com/devkiran "devkiran (3 commits)")[![buchin](https://avatars.githubusercontent.com/u/156540?v=4)](https://github.com/buchin "buchin (2 commits)")

### Embed Badge

![Health badge](/badges/buchin-trait-generator/health.svg)

```
[![Health](https://phpackages.com/badges/buchin-trait-generator/health.svg)](https://phpackages.com/packages/buchin-trait-generator)
```

PHPackages © 2026

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