Automatically clear Ray when running tests via PHPUnit or Pest original
Learn how to automatically clear Ray's screen when running a test
Read more [myray.app]
Learn how to automatically clear Ray's screen when running a test
Read more [myray.app]
– blog.oussama-mater.me - submitted by Oussama Mater
This article shows how to implement real-time notifications using Server-Sent Events instead of WebSockets or Long Polling.
Read more [blog.oussama-mater.me]
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.
"I’ve been reading freeks newsletter for a while now, and it’s easily one of my favorite developer newsletters. Freek shares practical, no-nonsense insights from running Spatie, maintaining hundreds of open-source packages, and shipping real products. Every time I get useful Laravel tips, smart tooling advice, always high quality and immediately applicable."
– fly.io - submitted by Chris Fidao
Use Laravel's new Process facade while avoiding issues related to processing stdout vs stderr output, environment variables, and PHP security settings.
Read more [fly.io]
– arunas.dev - submitted by Arunas
If you have jobs and listeners being fired within database transactions, it can lead to data inconsistencies if the transaction rolls back. Learn how to properly handle them here.
Read more [arunas.dev]
We've released a new major version of our Laravel Analytics package. The most important new feature of this release is the support for GA4.
– www.conroyp.com - submitted by Paul Conroy
Rolling averages are a great tool for smoothing out noisy data, helping you to more easily spot long-term trends. This new package adds first-class support to Laravel Collections for rolling average calculations.
Read more [www.conroyp.com]
In this blog post, I'd like to show the easiest way to skip tests conditionally in tests. Using the simple technique, which can be used for other things besides skipping tests, you can make your tests much more flexible.
Focus on writing code that solves real problems, is well-tested, and is easy to maintain.
Read more [localheinz.com]
Let's take a look how we can extend Var Dumper to dump our objects, or some vendor objects, in a more readable way.
Read more [jolicode.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
In this post, Ryan demonstrates how to use FFI and a lower-level language such as Rust to improve the performance of a critical path.
Read more [ryangjchandler.co.uk]
This feature is high on my wishlist.
Read more [sebastiandedeyne.com]
When looking at recent changes in the Laravel framework, I saw some PHP syntax that I didn't see before. Because I've been working with PHP for over 20 years and have a firm grasp of the language, I was surprised to see new syntax for the first time.
– harrk.dev - submitted by Harry Kirkman
In this article we will look at creating beautiful QR codes in Laravel 10, using the simple-qrcode package. With various use-cases and examples.
Read more [harrk.dev]
A nice tip by my colleague Seb
Read more [sebastiandedeyne.com]
The release of Pest v2 is right around the corner. Pest creator Nuno Maduro and the rest of the Pest team are currently working hard improving the docs ahead of the Pest v2 release somewhere later this month.
In this blog post, I'd like to share the free videos I've created for each of the amazing features.
I'm sure Tomas is going to do some cool stuff for the Laravel community.
Read more [tomasvotruba.com]
– tighten.com - submitted by Jamison Valenta
Don’t waste your team’s time fixing little code style issues... and DEFINITELY don’t ship code w/inconsistent code style! Check out our new package Duster, a powerful all-in-one code linter & fixer bundling all the best code styles for your Laravel apps!
Read more [tighten.com]
My colleague Ruben explains some improvements that were made in the latest version of our popular Laravel Data package
Read more [flareapp.io]
Our handy Ray debugging app gained a cool new trick: it can now display the values of private properties and results of private methods.
While attending Laracon India, many people approached me to ask how we handle the maintenance of all our Spatie packages. One of the ways we keep maintenance burden low is by making our packages customizable. In this blog post, I'd like to cover some of our best tips to make a Laravel package easy…