Newslurp

<< Stories

Laravel Echo Changes, Laravel 12.14, Laravel Passkeys, and more! - №564

Laravel News <hello@laravel-news.com>

May 18, 8:09 am

Laravel Echo v2.1.0, Laravel 12.14, Laravel Passkeys, and more! - №564
Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Your Laravel week in review

Week 564

Arr::from() Method in Laravel 12.14

The Laravel team released v12.14.0, which includes a new Arr::from() method, a currentlyResolving() container method, new "except" Context methods, and more.

Sponsor

Cut PHP Code Review Time & Bugs in Half with CodeRabbit

Ever spent hours reviewing Laravel service provider implementations or catching circular dependencies in your dependency injection? Want your code reviews to catch architectural issues before they become technical debt?

CodeRabbit is your AI-powered code review companion that deeply understands PHP and the Laravel ecosystem, going beyond what traditional static analysis tools can catch.

CodeRabbit provides:

  • Automatic PR summaries and file-change walkthroughs.
  • Runs popular linters like PHPStan, Biome, Ruff etc.
  • Highlights code and configuration security issues.
  • Enables you to write custom code review instructions and AST grep rules.

We're proud supporters of the PHP open-source ecosystem and maintainers of projects like Pinkary and Cachet. Our commitment to open source means we help maintainers focus on innovation rather than repetitive code reviews.

PS: CodeRabbit is free for Open-source.

Improved Installation and Frontend Hooks in Laravel Echo 2.1

The Laravel team has just shipped big improvements to Laravel Echo v2.1.0, including a new useEcho() hook for React and Vue, and an improved installation experience.

Early bird tickets for Laracon US ends soon.

The early bird pricing for Laracon US ends on May 31. Get your ticket now and come to Denver for two days of learning, meeting the community, and more.

▶️

Pirates, Argonauts, and framework reminders

This week Jake and Michael discuss Pirates, Argonauts, and framework reminders

Auto-translate Application Strings with Laratext

Laratext is a Laravel package that manages and auto-translates application text strings. It allows specifying both key and text for translations, making it useful and readable.

Laravel Jobs

The official Laravel job board connecting the best jobs with top talent.

Now hiring

Post a job on LaraJobs and it'll be featured here next week.

Simplify Factory Associations with Laravel's UseFactory Attribute

Laravel's UseFactory attribute enables declarative factory associations directly on Eloquent models using PHP attributes. This approach clarifies model-factory relationships, simplifies testing setup, and elegantly supports domain-driven structures without requiring strict naming conventions.

Filter Model Attributes with Laravel's New except() Method

Laravel's except() method provides an intuitive way to exclude specific attributes from Eloquent models. This method complements the existing only() function, giving developers a complete solution for filtering model data while making code more expressive.

Streamline API Resources with Laravel's Fluent Methods

Laravel introduces fluent resource methods that attach transformation capabilities directly to Eloquent models. These methods create a more natural coding flow from data retrieval to API formatting, reducing mental context switching and improving code readability.

Customize URL Handling with Laravel's Macroable URI Class

Laravel's URI class now supports custom macros, allowing developers to create application-specific URL manipulation methods. This feature enables cleaner code with domain-specific URL handling that integrates seamlessly with Laravel's elegant syntax.

Use Passkeys in Your Laravel App

Laravel Passkeys is a package by Spatie that makes it easy to set up passkey authentication in your Laravel application.

Laravel Seeder Generator

Laravel seeder generator based on your real data from your database.

Improve HTTP Error Testing with Laravel's requestException() Method

Laravel's requestException() method streamlines HTTP error testing by providing a concise way to create request exceptions. This utility reduces verbose exception creation code to a single line, making it easier to test how applications handle various API error responses.

Laravel News PO Box 196 Cramerton NC, 28032
Send us a postcard! You are receiving this because you joined the Laravel News weekly digest. If you know someone who would enjoy this newsletter please consider sharing it.

View Online | Opt out of the weekly email | Unsubscribe