- Middleware to replace something in your path in the route in the string.
- On Demand notifications in Laravel.
- Two tips about Carbon: rounding to the nearest 30 minutes and the method called round minute.
- Every request in Laravel has its own unique fingerprint.
- Reminder about performance: don't load all the data if you need just some of it.
- Creating a notification for birthday wish.
- Using AI to generate some parts of your code.
- Abbreviate numbers in Laravel 10.
- Resource file for polymorphic relationship loading.
- Generating a string key for use with the cache.
- Optimization tip: start with the fastest condition and finish with the slowest one in if statements.
via 11 Laravel/PHP Tips in 8 Minutes: July 2024