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 →
Look What You Helped Me Build image

Look What You Helped Me Build

Read article
BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP image

BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP

Read article
Running Laravel's Scheduler on Multiple Servers image

Running Laravel's Scheduler on Multiple Servers

Read article
Laravel Fake Assertions Now Accept Property Arrays image

Laravel Fake Assertions Now Accept Property Arrays

Read article
Route::query() and Model defaults() in Laravel 13.35 image

Route::query() and Model defaults() in Laravel 13.35

Read article
Laravel AI SDK 1.1 Adds Agent Skills and Cohere Chat image

Laravel AI SDK 1.1 Adds Agent Skills and Cohere Chat

Read article