• How I've Added The Source File And Line To Laravel's "dd" function

    Next week, on Laravel v9.32.0, we are going to improve the `dd` function output adding the source file/line next to the dumped output.

    September 23, 2022 | 5 min article
  • Null Object Pattern in PHP

    Have you heard about the Null Object Pattern? It's basically a pattern that allows you to replace "null" with real objects — and those objects do nothing. And, in this article, I'm going to show how I've used it with Symfony's Console Output feature.

    July 28, 2022 | 5 min article
  • Load Environment Variables From ".env" Files In Your Rust Program

    Today, I was working on setting up a newsletter on my website, that's open source, and had the need `MAILCOACH_API_TOKEN` to interact with the mailcoach.app. Now, because my website is built on Rust, I've used the "dotenv" crate to collect environment variables from a ".env" file.

    July 17, 2022 | 5 min article
  • Speed Up Your PHP HTTP Guzzle Requests With Concurrency

    A common mistake when needing to make multiple HTTP requests at the same time is making them sequentially and waiting for every response before issuing the following request, which can cause an `N+1` problem.

    July 15, 2022 | 5 min article
  • How to install PHP 8.2 RC on Mac

    PHP 8.2 is scheduled to be released on the December 8, 2022. Of course, meanwhile, you may test the new features, syntax changes, and other improvements in your local environment.

    July 11, 2022 | 4 min tutorial
  • Pest Story by OfferZen

    Laravel Origins “The Documentary” has premiered on the March 2, 2022. And, for this documentary, I was interviewed two times to share my story with Laravel.

    July 10, 2022 | 3 min video
  • Laravel Podcast Season 4 Episode 10

    This week, I've participated on the Season 4 Episode 10 of the Laravel Podcast. As usual, Matt Staufer is an amazing host, and really had fun talking about Pest PHP once again.

    June 24, 2022 | 25 min podcast