Eval Testing LLMs in PHPUnit
– joshhornby.com - submitted by Joshua Hornby
Prompts break silently. Here's how to catch regressions with PHPUnit evals before your users do.
Read more [joshhornby.com]
Posts tagged with php
– joshhornby.com - submitted by Joshua Hornby
Prompts break silently. Here's how to catch regressions with PHPUnit evals before your users do.
Read more [joshhornby.com]
Partial Function Application in PHP 8.6 will let you write a “pre‑configured” callable by calling a function with some arguments and using placeholders for the rest.
Read more [www.amitmerchant.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
– coz.jp - submitted by Andrei-Daniel Petrica
A practical guide to deploying a high-performance Laravel stack using Octane, FrankenPHP, and a fully automated Docker Compose workflow.
Read more [coz.jp]
PIE's creator James Titcumb shows of PIE.
Read more [www.youtube.com]
Laravel 8 first introduced HTTP request pooling, thanks to a contribution from Andrea Marco Sartori. This allows developers to write code which will execute any number of HTTP requests concurrently. Under the hood, this is made possible thanks to the async request functionality of Guzzle and cURL’s multi handler functionality.
Read more [cosmastech.com]
Imagine your team wants to bring AI into their workflow to automate routine tasks, extract insights from data, assist with content creation, or improve customer support. Smart move!
Read more [tighten.com]
While parameterized queries are the preferred method, sole() adds an extra layer of protection when using raw queries, especially when only one record should match.
Read more [aaronsaray.com]
PHP 8.5 includes the pipe operator, clone with, a new URI parser, and more.
Read more [stitcher.io]
Using Laravel’s new traits, WithCachedRoutes and WithCachedConfig, you can significantly reducing test run times.
Read more [cosmastech.com]
Performance monitoring gives you a complete view of what's happening in your Laravel app. The dashboard tracks everything: HTTP routes, queued jobs, Artisan commands, and database queries.
Read more [flareapp.io]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Adding fake() methods to your custom facades in applications and packages can provide some nice DX and APIs.
Read more [ryangjchandler.co.uk]
A few experiment by Brent. His process involves using noise generation, specifically the xxHash algorithm, to create a cohesive world map with smooth transitions between land and water using linear interpolation (LERP)
Read more [stitcher.io]
The State of PHP 2025 survey by JetBrains examines how developers use, prefer, and rely on PHP, showing how this long-standing web language continues to modernize through new frameworks, improved tooling, and AI-assisted workflows.
Read more [blog.jetbrains.com]
A good overview of everything coming in PHP 8.5.
Read more [www.phparch.com]
Shawn Hooper enjoys the new presets we recently added to our Laravel CSP package.
Read more [shawnhooper.ca]
I'm really looking forward to PHP 8.5's pipe operator. Here are a few nice use cases.
Read more [amitmerchant.com]
Dynamic method calls can be useful, but they also come with some risks that you should be aware of.
Read more [ashallendesign.co.uk]
– nabilhassen.com - submitted by Nabil Hassen
Laravel 12.32 introduces Http::batch, a clean way to send concurrent HTTP requests with lifecycle hooks for progress, success, failure, and finalization.
Read more [nabilhassen.com]
Laravel Notifications are one of my favourite parts of the framework.
Read more [crnkovic.me]
– doeken.org - submitted by Doeke Norg
Learn how a ClockInterface helps you decouple time and write stable, testable code. It's about time!
Read more [doeken.org]