Newslurp

<< Stories

#79 - Building your first MCP server with Laravel 🧰, Why we like stopOnError in our test suite🧪, Lada Cache 📦, The new progress() function in CSS 🧩, loadMissing 💡

The Laralist <hello@thelaralist.com>

October 12, 10:30 am

#79 - Building your first MCP server with Laravel 🧰, Why we like stopOnError in our test suite🧪, Lada Cache 📦, The new progress() function in CSS 🧩, loadMissing 💡
Explore the Model Context Protocol (MCP) to enhance AI interactions with Laravel apps. This tutorial guides you in building a task management MCP server, demonstrating tools, resources, and prompts for AI-driven task handling.
The Laralist
#79 - 12th of October, 2025
🧱
Laravel

Discover the power of Laravel's Pipeline for simplifying code refactors by transforming messy controller logic into clean, testable, and maintainable code through linear data processing.

Explore the Model Context Protocol (MCP) to enhance AI interactions with Laravel apps. This tutorial guides you in building a task management MCP server, demonstrating tools, resources, and prompts for AI-driven task handling.

This small release enhances Stringable::doesntContain() for API symmetry and updates withUrlParameters to merge parameters instead of replacing them. It also fixes several bugs throughout the framework.

💡
Tip of the Week

The ⁠loadMissing method in Eloquent is used to load relationships that have not yet been loaded for a model instance. It is particularly useful when you want to ensure that certain relationships are loaded without reloading those that are already loaded, which can help optimize performance by avoiding unnecessary database queries.

$posts = Post::all();

// ...

// Load comments only if they are not already loaded
$posts->loadMissing('comments');
🐘
PHP

Enabling stopOnError in phpunit.xml halts test execution on first error, optimizing CI pipeline time by avoiding prolonged timeouts. Recommended alongside stopOnFailure for efficient testing.

PHP 8.5 introduces a standards-compliant URI extension with parsers for RFC 3986 and WHATWG standards. This secure URL parsing feature enhances PHP's library, backed by community collaboration.

Rector 22 introduces smarter array docblocks, adding new rules that automatically refine type definitions like int[] or User[]. The goal is clearer, more accurate type information for IDEs and static analyzers, improving code readability and reducing confusion in complex array structures.

📦
Package of the Week

This package adds automatic caching to your Laravel Eloquent queries. It stores query results in Redis and invalidates them when related models change, keeping cached data in sync without manual work. Ideal for improving performance in read-heavy applications.

Misc

The new CSS progress() function allows for intuitive and responsive design effects, mapping viewport changes directly to properties like opacity and scale without complex JavaScript or calc() expressions.

Emphasizing that workplace politics isn't inherently bad, the article argues for strategic relationship-building and influence to ensure good technical decisions and outcomes. It highlights the necessity of engaging in politics to effectively advocate for ideas and projects.

The 2025 DORA Report shows that AI amplifies whatever foundation you have. Teams with weak practices risk making them worse, while those with strong processes can move faster and further. It also outlines key metrics and strategies to build responsibly as AI becomes part of modern development workflows.

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.