You can even write it shorter as User::latest()->value('name');