Newslurp

<< Stories

#72 - Pest v4 is here πŸ†•, Laravel 12.25 released πŸš€, Laravel Passkeys πŸ“¦, What makes Claude Code so damn good? πŸ€–, latestOfMany πŸ’‘

The Laralist <hello@thelaralist.com>

August 24, 10:29 am

#72 - Pest v4 is here πŸ†•, Laravel 12.25 released πŸš€, Laravel Passkeys πŸ“¦, What makes Claude Code so damn good? πŸ€–, latestOfMany πŸ’‘
Pest v4 introduces browser testing with Laravel support, enabling parallel tests. Features include visual regression, test sharding, faster type coverage, profanity checking, and conditional test skipping. Built on PHPUnit 12.
β€Š
The Laralist
#72 - 24th of August, 2025
🧱
Laravel

Explore Laravel's queue system to transform slow tasks into efficient workflows. Discover dispatch lifecycle, worker internals, retries, backoffs, and advanced features like chains and batches.

This article explores applying DDD in Laravel by structuring projects into Domain, Application, and Infrastructure layers. It shows how entities, value objects, services, and repositories can better mirror business logic and keep complex apps organized.

Laravel v12.25 enhances the db:table command to prioritize the current schema, introduces allowedUrls for preventStrayRequests, adds a "Copy as Markdown" button on error pages, and provides new Eloquent methods mergeVisible, mergeHidden, and mergeAppends for attribute management.

πŸ’‘
Tip of the Week

The ⁠latestOfMany method in Laravel allows you to easily fetch the most recent record from a related model in a ⁠hasMany relationship. This is useful for scenarios where you need the latest entry based on a specific criterion, such as a timestamp or primary key.

use App\Models\Comment;
use Illuminate\Database\Eloquent\Relations\HasOne;

public function latestComment(): HasOne
{
    return $this->hasOne(Comment::class)->latestOfMany();
}
🐘
PHP

Pest v4 introduces browser testing with Laravel support, enabling parallel tests. Features include visual regression, test sharding, faster type coverage, profanity checking, and conditional test skipping. Built on PHPUnit 12.

Gina Banyard and Larry Garfield discuss the future of PHP in 2025, focusing on enhancements in speed and functionality. They explore core developments and community contributions that are shaping the evolution of PHP. The discussion highlights insights into optimizing PHP for modern applications.

πŸ“¦
Package of the Week

Enhance your Laravel app with passkey authentication using the spatie/laravel-passkeys package. It offers a Livewire component for passkey generation and a Blade component for user authentication.

✨
Misc

As startups grow, back-office teams build internal tools but risk drifting from user impact. Glue teams, focused on cross-cutting domains like auth or billing, stay tied to customer experience. The advice: delay back-office teams, but invest in glue teams early.

The article explores graceful degradation in software, ensuring essential functionality when failures occur. It covers strategies like rate limiting, load shedding, and circuit breakers to maintain system stability and efficiency.

Claude Code stands out for its simplicity and effectiveness, leveraging a streamlined architecture with a single main loop and minimal complexity. It excels in user experience by using smaller models, structured prompts, and comprehensive tools, enhancing the efficiency and control of LLM agents.

β€Š
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.