laravel classes code example Example: class name laravel // laravel helper: $baseClass = class_basename(App\Models\User::class); // User