Debugging Tests: A look into assertCommandCalled
– fly.io - submitted by Kathryn Anne Tan
We look into the different parts of a test, and a checklist of things to check when debugging a failing test.
Read more [fly.io]
In this section you'll find links submitted by others.
Did you write or stumbled across a blog post, tutorial or video that might be interesting for others?
To be able to submit a link you need to log in first.
Log in– fly.io - submitted by Kathryn Anne Tan
We look into the different parts of a test, and a checklist of things to check when debugging a failing test.
Read more [fly.io]
– www.csrhymes.com - submitted by Chris Rhymes
Sometimes it’s difficult to decide where to put code, trying to figure out where it really belongs. Laravel has a predefined folder structure that you can keep to for most scenarios, but I wasn’t sure whether the settings should be kept in a config file, a class, or somewhere else. In the end I decided to use an enum.
Read more [www.csrhymes.com]
– fly.io - submitted by Chris Fidao
We see how Laravel queues handle graceful restarts/stops, and how we can do the same in our own Artisan commands.
Read more [fly.io]
– alpine-ajax.js.org - submitted by Christian Taylor
An Alpine.js plugin to dynamically fetch fragments of your UI from the server. Use Alpine AJAX to build a SPA-like UI in a standard Laravel app without Inertia or Livewire.
Read more [alpine-ajax.js.org]
– leopoletto.com - submitted by Leonardo Poletto
Laravel provides a way to invalidate and "log out" an active user's sessions on other devices without invalidating the session on their current device.
Read more [leopoletto.com]
– fly.io - submitted by Johannes Werbrouck
In this article, I take a first look at Filament and show you how to set it up and take your first steps. You'll be amazed at how much you can get done in a short amount of time! This article is part of a series where I'll build an app that shows in what fly.io regions it has been deployed, and I'll add a neat party trick at the end. Stay tuned!
Read more [fly.io]
– blog.oussama-mater.me - submitted by Oussama Mater
Explore how Laravel Envoy can help increase your productivity by automating the boring stuff.
Read more [blog.oussama-mater.me]
– blog.genijaho.dev - submitted by Geni Jaho
Simply enabling the GitHub Actions cache for these tools will save you a lot of run time. We discuss how to enable caching for Rector, Pint, and the vendor directory.
Read more [blog.genijaho.dev]
– myray.app - submitted by Spatie
Debug logging is difficult in Next.js. In this post, we'll provide a solution to this issue.
Read more [myray.app]
– roundly-consulting.com - submitted by Andrej
Learn how to install and configure Prometheus and Grafana to visualize the network requests made to services that are running behind the Traefik ingress controller in minikube (Kubernetes).
Read more [roundly-consulting.com]
– fly.io - submitted by Kathryn Anne Tan
In this article, we quickly set up a world of seamless, server-side rendered, Laravel-React development for our projects with Inertia SSR! Cake on top: It's super easy to set up on Fly.io!
Read more [fly.io]
– stefanzweifel.dev - submitted by Stefan Zweifel
Do you create automated backups of your database? Are you sure they work? laravel-backup-restore is a new package than can help you verify the integrity of your backups.
Read more [stefanzweifel.dev]
– leopoletto.com - submitted by Leonardo Poletto
Migrating a legacy PHP application to Laravel will probably require a custom hashing driver. In this article, I share how I usually handle it.
Read more [leopoletto.com]
– advanced-inertia.com - submitted by Boris Lepikhin
Avoid global variables in JS. You can never be sure that the variable you are referring to is even present on the `window` object. Instead, they could be easily swapped by ES6 singletons, bringing you type-safety and direct IDE support.
Read more [advanced-inertia.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Let's take a look at how you could build your own template engine in PHP.
Read more [ryangjchandler.co.uk]
– ashallendesign.co.uk - submitted by Ash Allen
Read about the Full-Stack Developer, Caneco. He tells us a little bit about himself, how he got into web development, and what his typical day-to-day as a developer is like.
Read more [ashallendesign.co.uk]
– www.aniketmagadum.com - submitted by Aniket Magadum
In this blog, I have given an example of how can we use interfaces in PHP, when should we use them, and how does it improve the developer experience along with the product quality in the long run.
Read more [www.aniketmagadum.com]
– www.youtube.com - submitted by Set Kyar Wa Lar
Setting Up a Laravel Application on EC2 Instance Using Operative Bash | Step-by-Step Tutorial
Read more [www.youtube.com]
– leopoletto.com - submitted by Leonardo Poletto
One of the common challenges when migrating a legacy PHP application to Laravel is creating database migrations based on the existing database. Recently I stumbled upon a database with over a hundred tables, and here is how I handled it.
Read more [leopoletto.com]
– roundly-consulting.com - submitted by Andrej
Configure two Laravel applications to connect to a single Redis instance and utilize it for dispatching and processing synchronization jobs.
Read more [roundly-consulting.com]