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

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
PayZephyr: One Payment API for Stripe, Paystack, and PayPal image

PayZephyr: One Payment API for Stripe, Paystack, and PayPal

Read article
Bifrost Turns One With AI Builds and New Workflows image

Bifrost Turns One With AI Builds and New Workflows

Read article
Preview Blade Templates in macOS Finder with Quick Blade image

Preview Blade Templates in macOS Finder with Quick Blade

Read article
Artisan Debugging Commands in Laravel Telescope 5.24.0 image

Artisan Debugging Commands in Laravel Telescope 5.24.0

Read article
Queue totalSize() and JobInterrupted Event in Laravel 13.31 image

Queue totalSize() and JobInterrupted Event in Laravel 13.31

Read article
Find Unexpected Test Inputs with Fuzz for Pest image

Find Unexpected Test Inputs with Fuzz for Pest

Read article