Recent posts with #Php

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

â€Ē â€Ē

48

â€Ē
â€Ē

🚀 Just released UmbraUI v0.1.0-alpha!

Modern UI components for Laravel + Tailwind CSS:
â€Ē 12+ components (Button, Modal, Accordion, etc)
â€Ē Dark/Light themes
â€Ē Zero JS, pure CSS animations
â€Ē Native HTML elements

Feedback welcome! 👇

#Laravel #TailwindCSS #OpenSource #WebDev #PHP

@laravelphp @tailwindcss

GitHub: github.com/ihxnnxs/UmbraUI
image
image

â€Ē â€Ē

12

â€Ē
â€Ē

🚀 Optimized my Laravel vendor/ folder and cut it from 200.6 MB ➝ 119.8 MB (40% lighter) ðŸŠķ

Result: faster deploys, smaller Docker images, smoother CI/CD.

Inspired by @jclermont article on trimming the AWS SDK, I ran my own cleanup experiment and shared the steps here:

dev.to/tegos/optimize-vendor-folder-size-1m01



#Laravel #PHP #DevOps

1 â€Ē â€Ē

81

â€Ē
â€Ē