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