Laravel's Pluck Gets Smarter: Closure Support for Custom Transformations
Laravel's pluck() method just got more powerful with closure support for both key and value parameters. No more switching to mapWithKeys() when you need simple formatting transformations.
From Verbose mapWithKeys to Clean pluck
Previously, when you needed to apply formatting or transformations while plucking values, you had to