News

A look at whats coming to Laravel 5.2.23

Published

Mohamed Said put together a new post outlining some new features coming to Laravel 5.2.23.

Some of the new features include:

  • in_array validation rule
  • Arr::first() & Arr::last() now have the callback optional
  • New Blade directives @php, @endphp, and @unset
  • Ability to escape blade directives
  • New monthlyOn() method for scheduling commands
  • New app()->isLocale() method
  • seeElement() and dontSeeElement() test helpers

As well as a new fluent builder for MySQL JSON fields:

// Column data
{"en":"name","ar":"nom"}
// You may dive deep in the JSON string using the `->` operator.
User::where('name->en', 'name')->get();

Check out his post for code samples and to for more information.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Slow Job Alerts and Replica Commit IDs in Laravel 13.40 image

Slow Job Alerts and Replica Commit IDs in Laravel 13.40

Read article
Flock: A Free, Native Herd Alternative for Laravel image

Flock: A Free, Native Herd Alternative for Laravel

Read article
Live Props for Real-Time Updates in Inertia.js v3.11 image

Live Props for Real-Time Updates in Inertia.js v3.11

Read article
Cooldown Dependency Policy now in Composer 2.11 image

Cooldown Dependency Policy now in Composer 2.11

Read article
Email Sending and Testing for Laravel in One Account image

Email Sending and Testing for Laravel in One Account

Read article
Decide with Jev: Tie Every AI Check to the Exact Draft image

Decide with Jev: Tie Every AI Check to the Exact Draft

Read article