Newslurp

<< Stories

Laravel 12.20, PHP 8.5, NativePhp and more! - №572

Laravel News <hello@laravel-news.com>

July 13, 5:13 am

Laravel 12.20, PHP 8.5, NativePhp and more! - №572
Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Your Laravel week in review

Week 572

Conditionally Fail Queue Jobs While Throttling Exceptions in Laravel 12.20

The Laravel team released v12.20.0 with the ability to fail while throttling queue exceptions, a Queue Facade fakeFor() method, a Context remember() method, the ability to customize Collection pluck() with a callback, and more.

Sponsor

Deploy Laravel Apps with Enterprise Ready Auth in Minutes

Laravel Cloud now ships with an official starter kit for WorkOS AuthKit, so you can go from fresh app to secure deployment, fast.

  • Create a Laravel + React app with the new starter kit
  • Add enterprise ready auth: SSO, social sign-in, RBAC, and more
  • Deploy instantly with Laravel Cloud
  • Built and supported by the Laravel and WorkOS teams

If you're a Laravel dev building for production, this streamlines auth and hosting from day one.

PHP Fatal Error Backtraces in PHP 8.5

With PHP 8.5, a new fatal_error_backtraces setting can control whether a backtrace is shown for fatal errors. Learn how this will help you debug PHP applications when certain fatal errors occur.

PHP 8.5 Introduces an INI Diff Option

PHP 8.5 introduces a diff option for the php --ini flag that makes it easy to identify changed INI values in your configuration. Let's try this new option out using a PHP 8.5 alpha build!

The Pipe Operator is Coming to PHP 8.5

The Pipe Operator is scheduled for release with PHP 8.5 on November 20, 2025. Learn how to chain multiple callables together, passing a value through them from left to right in a native way.

NativePHP for Mobile v1.1: Smaller, Smarter, and Ready to Scale

Version 1.1 of NativePHP drops Monday, July 14, and it isn’t just a collection of fixes. It’s a foundational upgrade designed to make NativePHP apps easier to build, faster to ship, and ready for real production work — all using Laravel.

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.

Laravel's Rule::contains() for Fluent Array Validation

Laravel's Rule::contains() method provides fluent array validation syntax, replacing string concatenation with clean, readable rules. Maintain consistency with Laravel's validation patterns while improving code maintainability and developer experience.

Custom Object Casting in Laravel Models

Laravel's custom object casting transforms database attributes into value objects through the CastsAttributes interface. Build sophisticated data handling with rich domain objects while maintaining simple database storage patterns.

Run Laravel Pint Faster in Parallel Mode

Laravel Pint was updated with a --parallel flag, making Pint 40x faster. Learn how you can use this flag to speed up Pint formatting tasks.

Enhancing JSON Responses with Laravel Model Appends

Laravel's model appending feature enriches JSON responses with computed attributes through accessors and the $appends property. Create dynamic API outputs without database modifications while maintaining clean data separation.

Laravel AI Chat Starter Kit

A modern AI chat starter kit built with Laravel, featuring real-time streaming responses using Prism, Inertia.js, Vue.js, and TailwindCSS

Blade Authorization Directives for View Security

Laravel's Blade authorization directives provide clean syntax for conditional content rendering based on user permissions. Use @can, @cannot, and @canany to build secure, permission-aware templates with minimal code complexity.

Laravel Request Content Type Inspection Methods

Laravel's content type inspection methods enable sophisticated content negotiation. Use getAcceptableContentTypes and accepts methods to build flexible endpoints that serve appropriate formats based on client preferences.

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