RSS Amplifier

The Laralist · Oct 19, 2025

#80 - Automated Code Refactoring Made Easy with Rector 🤖, Surprisingly easy extension development in Rust ✨, StreamPulse 📦, How I Almost Got Hacked By A ‘Job Interview’ ⚠️, Collection::partition 💡

0
Sign in to vote or save

Mario Juárez, Javier Pérez · The Laralist

Why You Might Want to Hydrate Models to Delete Them in Laravel (2 minute read)

Rector PHP for Laravel automates common refactors across your codebase — converting if statements to helpers like abort_if, replacing global helpers with Facades, optimizing collections and queries, and updating legacy factories. A quick way to modernize and clean up Laravel projects.

How Laravel Nightwatch handles billions of observability events in real time with Amazon MSK and ClickHouse Cloud (6 minute read)

Explore Laravel Nightwatch's internal workings as it delivers real-time insights using AWS services and ClickHouse Cloud, processing over a billion daily events with sub-second latency for efficient global-scale monitoring.

🤖 Rector for Laravel: Automated Code Refactoring Made Easy (7 minute video)

Rector PHP for Laravel automates common refactors across your codebase — converting if statements to helpers like abort_if, replacing global helpers with Facades, optimizing collections and queries, and updating legacy factories. A quick way to modernize and clean up Laravel projects.

Laravel 12.34 released

The latest Laravel release includes support for PostgreSQL virtual columns with virtualAs() and a failover queue driver, enabling fallback to multiple connections if the primary queue is unavailable. It also allows closures in throw_if, and adds support for several editors like Zed, Fleet, Windsurf, Trae, and Kiro in the local exception page.

The ⁠partition method in the ⁠Collection class allows you to directly destructure the result into two separate collections. This enables immediate handling of elements that satisfy a condition and those that do not, without needing additional filtering.

$collection = collect([10, 20, 30, 40, 50, 60]);
// Partition the collection into two parts: numbers less than 35 and those 35 or above
[$lessThanThirtyFive, $thirtyFiveOrMore] = $collection->partition(fn($number) => $number < 35);
$lessThanThirtyFive->all();  // [10, 20, 30]
$thirtyFiveOrMore->all();    // [40, 50, 60]

✨ Surprisingly easy extension development in Rust

This post shows how easy building PHP extensions with Rust can be via ext-php-rs, wrapping a poker equity library in hours. The code is open-sourced, offering a clear reference for creating similar high-performance extensions.

The State of PHP 2025 (7 minute read)

The State of PHP 2025 report is available. Key takeaways include Laravel’s lead, PHP 8.x dominance, mainstream AI usage, rising PHPStan and Pest adoption, and growing FrankenPHP momentum. Based on the Developer Ecosystem Survey 2025.

StreamPulse

StreamPulse offers a Laravel-native event streaming package with a unified API for multiple platforms. It simplifies complex concepts, supports transaction-aware publishing, and includes real-time monitoring through a UI dashboard.

⚠️ How I Almost Got Hacked By A 'Job Interview' (5 minute read)

A slick “interview” sends a polished technical test hiding obfuscated malware. Seconds from disaster, an AI scan saves the day. Takeaway: sandbox everything, verify everyone, never rush to run code.

Vibing a Non-Trivial Ghostty Feature (14 minute read)

Mitchell Hashimoto, Ghostty's creator, shares his process of developing a macOS unobtrusive update feature, detailing AI-assisted and human-refined coding sessions. He transparently opens all AI chat logs, offering insights into modern AI collaboration.

No posts

Read the original on thelaralist.substack.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.