make traits in laravel using command code example Example: laravel make trait command php artisan make:trait nameOfTheTrait