narutorabby/make-trait

This will create traits in Laravel

1.0 2022-10-20 11:47 UTC

This package is auto-updated.

Last update: 2025-07-21 00:53:24 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