PHPackages                             narutorabby/make-trait - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. narutorabby/make-trait

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

narutorabby/make-trait
======================

This will create traits in Laravel

1.0(3y ago)03MITPHP

Since Oct 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/narutorabby/make-trait)[ Packagist](https://packagist.org/packages/narutorabby/make-trait)[ RSS](/packages/narutorabby-make-trait/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

make-trait
==========

[](#make-trait)

This will create traits in Laravel

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

[](#installation)

### Laravel

[](#laravel)

Require this package in your composer.json and update composer. This will download the package and the dompdf + fontlib libraries also.

```
composer require narutorabby/make-trait

```

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

[](#installation-1)

### Register the Service Provider

[](#register-the-service-provider)

Add the following line at the bottom of the providers array in config/app.php

```
Narutorabby\MakeTrait\MakeTraitServiceProvider::class,

```

Usage
-----

[](#usage)

Finally run the following command to create a trait

```
php artisan make:trait ExampleTrait

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1351d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5cbed9eb663771ae6dc80836718ed8b813a7faf64c8a91c04d986f4228e4c132?d=identicon)[narutorabby](/maintainers/narutorabby)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/narutorabby-make-trait/health.svg)

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

###  Alternatives

[mediawiki/mermaid

Provides a parser function to generate diagrams and charts with the help of the mermaid script language

4667.7k1](/packages/mediawiki-mermaid)[medialounge/magento2-storyblok-integration

Magento 2 extension to integrate Storyblok visual editor

2967.9k](/packages/medialounge-magento2-storyblok-integration)

PHPackages © 2026

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