Convert Guzzle requests to curl commands
I came across this cool package that helped me debug a weird request performed by Guzzle.
Read more [github.com]
I came across this cool package that helped me debug a weird request performed by Guzzle.
Read more [github.com]
Last week, my colleague Ruben and I launched a major new feature at Flare: there's a new integration with GitHub that makes it possible to:
In this stream, Ruben and I will show you how you can use this integration and how it works under the hood.
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 publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
I do want to point out that print debugging has one critical feature that most step-based debuggers don't have: you can see program state from multiple time steps all at once.
Read more [buttondown.email]
Earlier this year, we released Ray, a desktop app that allows you to debug faster. Instead of dumping values to the browser or console, Ray allows you to display debugging information beautifully in a dedicated window.
Since launch, Ray helps you debug local projects. Today, we're adding the most requested feature to Ray: the ability to connect to remote servers. All output of the ray() call, will be sent securely from your remote server to the local app via SSH.
Using this feature, you can quickly investigate problems on your production servers that you are unable to recreate locally.
In this short video you'll see a quick demo!
– luisdalmolin.dev - submitted by Luis Dalmolin
Blog post with some practical tips on how to deal with failing and failed jobs.
Read more [luisdalmolin.dev]
My colleague Alex recently fixed a strange problem with Redis.
Read more [alexvanderbist.com]
I'm proud to announce the immediate release of Ray, a desktop app that vastly improves your debugging experience. Ray is a dedicated window to send dumped values to. It has a lot of features that help you find and fix bugs faster.

Ray is available for macOS, Windows and Linux.
In this blog post, I'd like to share why and how we've built Ray. If you just want to know what Ray is, head to the Ray homepage.
To get the backtrace in PHP, you can use the debug_backtrace function. By default, it can be hard to work with. Using our newly released spatie/backtrace package, this becomes much simpler.
Let's dive in!
– nunomaduro.com - submitted by Nuno Maduro
With Laravel 8 coming soon, Nuno just released Collision v5.0. Let's see the changes merged into this release.
Read more [nunomaduro.com]
Barry Vd. Heuvel, the creator of Laravel Debugbar, compares Debugbar against Telescope.
Read more [barryvdh.nl]
Julien Bourdeau explains how you can use the auto_prepend_file option of PHP.
Read more [www.sigerr.org]
When working on open source code, I like using the latest version of PHP. When developers that are not on the latest version use the package, they might see syntax errors.
You might ask why Composer doesn't protect against this? When composer.json requires the latest version, how do devs, not on the latest version, can even install the package?
Well, there seemingly are a lot of people that only upgrade the PHP version on the command line. For handling web requests, they are unknowingly using an older version of PHP. Here's how to make sure you are on the latest version of PHP on both the CLI and for handling web requests.
Marcel Pociot, our teams and me have worked hard to create Ignition, the brand new error page in Laravel 6.
Earlier this week I had the pleasure of being invited to the stream of Gary Hockin where we talked about the internals of Ignation.
Today at Laracon EU, Marcel Pociot and I unveiled Ignition, a beautiful new error page for Laravel. It is the new default error screen in Laravel 6 and you can manually install it into Laravel 5 applications. In this blog post, I'd like to tell you all about it.
Jason McCreary, creator of Laravel Shift, wrote a post mortem on a problem where too many mails were sent.
It was 7:07 am. I woke up to 56 emails, 17 tweets, 9 Slack messages, and 4 telegrams. All of which alerting me my SaSS product had sent 3,625 email messages to 1,544 users overnight. I am Jack's cold sweat. ?
Read more [jasonmccreary.me]
At the Clarabridge Developers blog, Toon Daelman wrote a good post on how to improve your exceptions.
You've made it to this post thinking "Why do we still need to talk about Exceptions?". Well, they're used everywhere in OOP codebases, but sometimes they're used in a way that make debugging a bit difficult. Let's look at some ways to make debugging exceptions a bit more fun!
Read more [engagor.github.io]
Mattias explains a problem we recently encountered at Oh Dear with Telescope.
For Oh Dear!, we're using Laravel Telescope as a convenient way of tracking/displaying exceptions, runs, ... It stores its exceptions in the database, so you can easily view them again. It stores those in a TEXT field in MySQL, which is limited to 2^16 bytes, or 65536 bytes. Some of our exceptions tend to be pretty long, and they were hitting this limit.
Read more [ma.ttias.be]
⏲️? Having trouble inspecting things that only show up when your mouse is hovered (because of javascript, not just CSS hover)?
— Caleb Porzio (@calebporzio) September 7, 2018
Here's a little helper to add to your projects. I use this baby all the time. pic.twitter.com/FNyyGcVgbj
Read more [twitter.com]
Marcel Pociot, serial open source creator, released another cool Laravel package.
When your Laravel project grows, so do the Laravel views. Sometimes it might be hard to figure out, which part of the output HTML was rendered using which template. With this package, you can take a peek into your Laravel views and find out which template is responsible for which part of the output HTML.
Read more [github.com]
A lesser-known @laravelphp feature: You can define your IDE/editor in your config/app.php file to let the Whoops error handler allow you to open files directly from within the error message. pic.twitter.com/My0BUjTIrM
— Marcel Pociot (@marcelpociot) 10 juli 2018
Read more [twitter.com]