Newslurp

<< Stories

#60 - RFC: Pipe operator v3 Accepted ➡️, Laravel v12.16 released 🚀, Arr::hasAll() 💡, PHP WebRTC 📦, The new if() function in CSS has landed in the latest Chrome 🆕

The Laralist <hello@thelaralist.com>

June 1, 10:26 am

#60 - RFC: Pipe operator v3 Accepted ➡️, Laravel v12.16 released 🚀, Arr::hasAll() 💡, PHP WebRTC 📦, The new if() function in CSS has landed in the latest Chrome 🆕
The PHP RFC introduces a "pipe" operator `|>`, facilitating function chaining by passing the left-side value as the first parameter to a single-parameter callable on the right. Voting so far is favorable, so the proposal will likely be accepted.
The Laralist
#60 - 1st of June, 2025
🧱
Laravel

Learn how to effectively scale Laravel Horizon for handling 1M+ jobs daily. This article covers job design, queue isolation, Redis configuration, and advanced monitoring techniques to optimize your applications.

Laravel v12.16.0 introduces Arr::hasAll to check for multiple keys in arrays, enhances Context attributes to interact with hidden items, and allows raw attachments in the Resend mail driver. Additionally, the optimize:clear command now prioritizes config clearing before cache, reducing the risk of issues when updating cache settings.

Taylor Otwell discusses the origins of Laravel, design patterns, Livewire vs. Inertia, AI , and more in an interview with Nuno Maduro.

💡
Tip of the Week

The Arr::hasAll() method, introduced in the latest version, allows you to verify that all specified keys exist within an array. This is especially useful for validating that a dataset contains all required fields, including nested keys.

$case1 = ['name' => 'Alice', 'email' => 'alice@example.com'];
$case2 = ['name' => 'Bob'];

$required = ['name', 'email'];

Arr::hasAll($case1, $required); // true
Arr::hasAll($case2, $required); // false
🐘
PHP

Tempest is a community-driven PHP framework, balancing Symfony's robustness and Laravel's elegance. It features a decoupled ORM and aims for flexibility, modernity, and minimal interference, offering a lightweight yet powerful experience.

The PHP RFC introduces a "pipe" operator |>, facilitating function chaining by passing the left-side value as the first parameter to a single-parameter callable on the right. Voting so far is favorable, so the proposal will likely be accepted.

📦
Package of the Week

This package offers a complete WebRTC implementation in PHP, facilitating real-time peer-to-peer audio, video, and data communication using ReactPHP for asynchronous performance without external libraries.

Misc

The blog post explores leveraging LLMs beyond code generation, focusing on research, documentation, and effective learning. It categorizes tasks for model selection and provides tips for enhancing LLM interactions, including indexing codebases and using system prompts.

CSS is evolving with the new if() function, allowing conditional styling for adaptive designs, currently supported in Chrome 137+. This enhances CSS's capability for dynamic and responsive layouts.

We value your thoughts and feedback. Feel free to hit reply and share your ideas with us.
If you find our content helpful, please consider forwarding it or sharing it with your friends and colleagues.
Thank you for reading,
Mario & Javi
If you prefer not to receive future editions of The Laralist, please unsubscribe.