Laravel News Podcast

Laravel MCP, Bifrost's Birthday, and Laravel 14

· Summarized

Share this episode
Anyone with this link can open it.
Share Link
Start at 0:00

Key takeaways

  • Laravel 13.31 added the totalSize() method to queue connections, which simplifies checking the total number of jobs on a queue.
  • Laravel 13.32 introduces Mercure broadcasting using server-sent events, providing real-time updates as an alternative to WebSockets.
  • Laravel MCP 1.0 supports building model context protocol servers that are helpful for AI integrations and tool discovery.
  • PHP 8.6 will include useful features like the clamp function, a high-precision Duration class, and a unified platform polling API, which improve language expressiveness and performance.
  • Laravel Vet enhances supply chain security by automatically reviewing composer updates with AI agents and version hashes to detect and prevent malicious code.
  • Several new Laravel packages aim to improve security, such as Laravel Scalpel which scans deployed files for signs of intrusion, and DiffLock that checks database schema changes before applying migrations.
  • Developer tools like Inertia DevTools for Firefox and Quick Blade for macOS Finder improve debugging and frontend development workflows.
  • Laravel 14 is expected to release in early 2027, bringing new features like support for HTTP query methods and an improved user authorization helper.

Summary

Episode Introduction and Personal Updates

The hosts, Jake Bennett and Michael Durenda, kick off episode 267 on September 22nd. They exchange casual greetings, discuss technical issues like connectivity problems with their MacBooks, and share personal updates. Michael mentions his child's school musical, which they are keeping her home from due to illness, and describes a home DIY project involving installing concealed hinges. They joke about their skills, with Michael admitting he's not handy and prefers to delegate tasks to professionals. The hosts highlight the importance of sharing advice on project management and DIY home improvements, setting a light, personable tone for the episode.

Larvel News and Package Updates - Releases and Features

The hosts delve into technical updates from the Laravel ecosystem. They start with Laravel 13.31, focusing on new features like the totalSize() method for queue connections and the job interrupted event, which allows handling jobs interrupted by workers. They also cover enhancements in Laravel 13.32, which introduces Mercure broadcasting, enabling real-time updates via server-sent events, designed as an alternative to WebSockets without needing external services like Pusher. Additionally, they discuss the release of Laravel MCP 1.0, which supports building model context protocol servers useful for AI integrations, supporting features like searchable tool catalogs and cache hints. The hosts highlight the continuous evolution of Laravel's debugging tools, including Telescope 5.24, which now offers direct terminal commands for listing and showing entries, improving developer workflows by removing the need for the dashboard.

New Features in PHP 8.6 and Framework Advancements

The discussion shifts to upcoming PHP 8.6, which is currently in feature freeze, with a release candidate imminent. Key features include the clamp function for bounding values, a duration class with high-precision timing capabilities, enhanced native enum support, and a unified polling API that standardizes event mechanisms across platforms. These updates aim to streamline PHP development and improve performance. The hosts comment on how such features might influence frameworks and libraries, expecting wider adoption over time. They also mention various other PHP RFCs, emphasizing ongoing efforts to make PHP more expressive, type-safe, and efficient.

Innovative Laravel Packages and Security Measures

The hosts review several new Laravel packages that address development needs. Laravel Vet is introduced as a tool to review composer updates for security threats, inspired by Rust’s Cargo Vet, automating the review of third-party code changes via AI agents and hash verification, thus enhancing supply chain security. They also highlight Laravel Scalpel, which scans deployed files for intrusion evidence and schema changes, assisting security audits. Additionally, packages like DiffLock prevent risky database migrations by analyzing schema discrepancies before deployment. Other tools discussed include Vacuum for PostgreSQL monitoring and schema linting, and Fresh for streamlined package development with testing, CI, and AI support. The conversation underscores the increasing importance of security and quality assurance in modern PHP applications.

Developer Tools and Community Projects

The hosts talk about useful developer tools like Inertia DevTools for Firefox, which offers feature parity with its Chrome counterpart, allowing advanced debugging of Inertia.js applications directly in the browser. They also mention Laravel tools in development, including the Laravel Starter Kit 'Super Stack,' which combines web, admin, mobile, and API functionalities in a single repository, aiming to simplify multi-platform project setup. Further, they discuss Quick Blade, a project that previews Blade templates directly in macOS Finder by rendering them with inline CSS and directives—an innovative way to streamline frontend development. These tools demonstrate ongoing efforts to enhance developer productivity and cross-browser compatibility within the Laravel community.

Upcoming Laravel 14 and Wrap-up

The episode concludes with a preview of Laravel 14, expected in early 2027, highlighting anticipated features like support for the HTTP query method, a user authorization helper, and various breaking changes affecting parameters and cache helpers. The hosts emphasize that Laravel continues to evolve, with new features planned to improve developer experience. They also mention other packages, such as Pest Fuzz for property-based testing and a host of security and code analysis tools. The episode wraps up with thanks to listeners, encouragement to support the podcast, and a reminder to check the show notes for links to all discussed packages and updates.

Sponsors

  • Laravel News · Thanks for joining us and supporting the podcast.

Show notes

Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account

Couldn't load the audio. A blocker may be stopping the show's tracking links. Open the file