Do you know Laravel have released version 9.46?

The Laravel team released 9.46 this week with two JsonResource methods to conditionally include resource properties, updates to the decimal validation rule and more.

Patrick Wan

--

There have 3 new updates for Laravel version 9.46.

  1. Add “whenHas” to the JSONResource
  2. JsonResource “unless” method
  3. Decimal validation rule supports signed numbers

--

--

Patrick Wan

My name’s Patrick. I’m a Software Developer, experience in Laravel, Vue Js, React Js, Livewire, Jquery, Codegniter, NPM, GIT. I have 5 years plus experience.