Why Are My Tests Failing?
– ashallendesign.co.uk - submitted by Ash Allen
Read about common reasons that your web application's tests might be failing. We'll also look at how to diagnose the issues and solve them.
Read more [ashallendesign.co.uk]
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– ashallendesign.co.uk - submitted by Ash Allen
Read about common reasons that your web application's tests might be failing. We'll also look at how to diagnose the issues and solve them.
Read more [ashallendesign.co.uk]
– acairns.co.uk - submitted by Andrew Cairns
Explains what the Code Smell 'Primitive Obsession' is, the damage it can cause to your codebase, how to spot it and - how to fix it!
Read more [acairns.co.uk]
– mateusguimaraes.com - submitted by Mateus Guimarães
Let's dive on how to enable OPCache and fine-tune php-fpm to handle the most requests as possible on a given machine.
Read more [mateusguimaraes.com]
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to encrypt queued jobs, notifications, mailables, and listeners in Laravel for improved security.
Read more [ashallendesign.co.uk]
– www.youtube.com - submitted by Tapan Sharma
In this tutorial, we'll implement Real-time Database Notifications in FilamentPHP using Laravel Reverb.
Read more [www.youtube.com]
– github.com - submitted by Ash Allen
Short URL v8.0 brings new customisation options and includes lots of refactored code to make the package more awesome behind the scenes! 🚀
Read more [github.com]
– myray.app - submitted by Spatie
Read more [myray.app]
– flareapp.io - submitted by Spatie
Read more [flareapp.io]
– dev.to - submitted by Abrar Ahmad
Sometimes we need to reference table names throughout our codebase, like when we're using the DB facade. Although table names don't change often, I still get an uneasy feeling of hardcoding them. It's so much better to reference the model directly so we have one source of truth for the table name. So, let's learn how to do that! We'll also create a trait that allows static access to any of our model table names to keep our code a little tidier.
Read more [dev.to]
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to use Find A PR (findapr.io) to find open-source Laravel and PHP projects that you can make contributions to.
Read more [ashallendesign.co.uk]
– myray.app - submitted by Spatie
Learn how to clear your Ray window whenever you want so that only the most recent output is displayed.
Read more [myray.app]
– rocketee.rs - submitted by Mark van Eijk
Learn how to install the latest PostgreSQL and pgvector extension. This way you can create an embeddings database for your AI adventures!
Read more [rocketee.rs]
– qirolab.com - submitted by Harish Kumar
PHP 8.3 has ushered in an array of advanced features, among which the #[Override] attribute stands out. This attribute, while known in other languages, is a fresh addition to PHP.
Read more [qirolab.com]
– seankegel.com - submitted by Sean Kegel
Use tappable scopes in Laravel to break down complex queries into reusable pieces without needing to use magic query scopes in Laravel.
Read more [seankegel.com]
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to use the `Conditionable` trait to make your classes chainable using the `when` and `unless` methods.
Read more [ashallendesign.co.uk]
– ashallendesign.co.uk - submitted by Ash Allen
Learn about how to use DynamoDB in Laravel for caching and storing Laravel models.
Read more [ashallendesign.co.uk]
– aleksandertabor.com - submitted by Aleksander Tabor
Learn how to use objects like Data Transfer Objects in Livewire with Wireables.
Read more [aleksandertabor.com]
– www.conroyp.com - submitted by Paul Conroy
Laravel's Process facade gives us a really nice way to work with system commands. In this example, we'll use it to build a simple process to notify us of upcoming domain expiry dates.
Read more [www.conroyp.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Composer's 30 second execution timeout can get in the way of long-running processes executed from a script. This is how you disable it.
Read more [ryangjchandler.co.uk]
– lukapeharda.com - submitted by Luka Peharda
Read how I fixed performance issues when refactoring and optimising legacy code with method signature inconsistency, done unintentionally by developer
Read more [lukapeharda.com]