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]
– 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]
– tighten.com - submitted by Kayla Helmick
Learn how to build an AI-powered drawing guessing game. In this little app, users will draw anything they like, and the AI will try to guess what it is.
Read more [tighten.com]
Join 9,500+ smart developers
Every month I share 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.
The true work is in building complexity into software, then thoughtfully editing and pruning it into something that takes a minute to learn, yet offers a lifetime of mastery for those who want to accomplish complicated things.
Read more [buttondown.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]
A good guide to get started with Claude Code. If you haven't jumped on that train yet, this might be a good entry point for you.
Read more [sankalp.bearblog.dev]
– coz.jp - submitted by Andrei-Daniel Petrica
Streamline dynamic multi-domain routing in Laravel with Traefik by serving YAML via the HTTP provider for automated, secure, and scalable configuration management. Ideal for Laravel developers and DevOps teams who want to eliminate bulky static files and improve maintainability.
Read more [coz.jp]
– 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]
This post dives into the technical details of the array and figure out how you might invent the array yourself.
Read more [nan-archive.vercel.app]
A cautionary tale about AWS VPC networking, NAT Gateways, and how a missing VPC Endpoint turned S3 data transfers into an expensive lesson.
Read more [www.geocod.io]
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]
– youtu.be - submitted by Bert De Swaef
In this episode of the Quick Win Wednesday series, I'll have a look at how to use flexible caching in Laravel. A great way to avoid unhappy users who'll hit invalid cache.
Read more [youtu.be]
Mattias shares his insights into what we saw during the outage and our lessons learned.
Read more [ohdear.app]
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]
In his talk at Wire:Live talk, Filip Ganyicz explores Bond, a new approach that brings the capabilities of modern JavaScript into your Blade views.
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]
– tighten.com - submitted by Kayla Helmick
This article explores some exciting new features that have been added to the language in recent years, because sometimes vanilla is exactly what you need. If you’re looking to cut down on heavy dependencies or simply get up to date, this one’s for you.
Read more [tighten.com]