Laravel's conditionable trait can help make code more fluent by allowing you to conditionally invoke methods within a callback. This article gives you everything you need to know to start using it.
Thanks to the relatively new Number helper, ordinal numbers (like 1st, 2nd, 3rd, etc.) are now easy to output in Laravel. Let's take a look!
The new deferred props feature of Inertia v2 eliminates the need to write our own boilerplate code to delay loading data. Let's see how it works.
The usePoll helper has landed in Inertia, making it really easy to refresh prop data at a given interval. Here's how it works, and some tips.
Want to improve the perceived performance of your applications? Prefetching is a great first step. Here's how it works in Inertia v2.
Laravel's paginator allows you to control the amount of numbered links rendered for pagination. Here's how to adjust it, and how it works.
Both Livewire and Inertia are incredibly popular stacks for building applications in Laravel. If you're stuck choosing between the two, let's weigh which one is right for you.
Unless you're running end-to-end tests, you probably don't need Vite to build assets before your test suite runs.
If you're using the Number helper in Laravel to format currency, there's a quick and easy global way to set the default currency.
If you just need to run a single migration file in Laravel, here's how to do it.