narutorabby/make-trait

This will create traits in Laravel

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/narutorabby/make-trait

1.0 2022-10-20 11:47 UTC

This package is auto-updated.

Last update: 2025-12-21 01:46:22 UTC


README

This will create traits in Laravel

Installation

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

Register the Service Provider

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

Narutorabby\MakeTrait\MakeTraitServiceProvider::class,

Usage

Finally run the following command to create a trait

php artisan make:trait ExampleTrait