Recent posts with #Laravel

52

🔥 HUGE UmbraUI update - Icons!

✅ 4,900+ customizable Tabler icons
✅ Custom colors & sizes work perfectly
✅ Zero XSS vulnerabilities

From basic <x-umbra-ui::icons.home/> to colorful <x-umbra-ui::icons.heart class="text-red-500"/>

#UmbraUI #Laravel #TailwindCSS

1

87

Laravel Performance Tip 🚀
Stop hitting the cache twice! Many devs do `Cache::has()` before `Cache::get()` - but that doubles the work for the same key.
Benchmarks say it all:
- ⏱ Execution: 14ms → 6ms
- 🧠 Memory: 47MB → 43MB
- 🔑 Cache calls: 2 → 1
✅ Fix: skip `has()`, just `get()` and check for null:

$value = Cache::get($key);
if ($value !== null) return $value;

Tiny tweak, huge impact under load. Full examples and results in the article!
dev.to/tegos/laravel-cache-tip-avoid-redundant-hasmissing-calls-4hi1

#Laravel #PHP #LaravelTips

49

Filament tip: Want to send DB notifications to a specific queue?

Use toDatabase()->onQueue('notifications') instead of sendToDatabase().

Shoutout to @OBaume for inspiring this tip!

👉 filamentmastery.com/articles/how-to-send-filament-database-notifications-to-a-specific-queue



#laravel #PHPDev #DevCommunity #Filament #filamentmastery

53