Hatthi (@HatthiDev) profile picture

From idea to MVP at lightning speed. Build Laravel apps faster with AI & low-code. 🚀 #Laravel #MVP

Joined April 2025
#Laravel Tip Did you know about... `whereAny()` method that can search multiple columns using `OR` logic.👇
2
14
2
162
7,968
Laravel Tips 💡 1️⃣ Use isDirty() before saving to prevent unnecessary database writes. Combine getOriginal() with wasChanged() for precise audit logging. getChanges() is handy for debugging or event-driven change tracking.
3
21
75
4,333
the api isn’t perfect, but doing async in php is actually pretty easy with "pcntl_fork". it’s one of the drivers of laravel’s concurrency helper and and powers spatie’s fork package too. ✨
2
5
2
66
10,343
#Laravel Tip Did you know... You can set default route parameters using defaults() — useful for localization or fallback values.
3
11
1
117
4,661
#Laravel Tip Did you know... You can fetch a single column directly with value() — simpler & faster than first().
6
29
2
189
7,234
#Laravel Tip Did you know.... tap() = Tweak and Return 🪄 Yes, Laravel's tap() lets you modify an object and return it — perfect for clean, chainable code.
2
23
3
186
6,997
Laravel Locations provides a large database with Country, City, Area, Language and Currency models for your apps 🌐 - madewithlaravel.com/laravel-…
9
47
1,823
Laravel Tip: Simplify your code by leveraging Eloquent's relationship method. Cleaners, more expressive, and works with any "belongs to" relationship.
10
23
3
159
14,063
a key benefit of the actions pattern is that it simplifies audit logging: just track what got created / updated end of each action 💚 since all system changes happen only through actions, you can confidently log there—no need to track changes elsewhere 😘 love this pattern
5
5
75
5,166
Turn one Laravel app – into 2 mobile apps 🎉 With NativePHP for mobile 📱 iOS available today 🤖 Android support coming May 2 🧵
7
26
6
88
10,173
We shipped a cache memoization feature to Laravel today. 🚀 Cache::memo let's you decorate any cache store with a memoized wrapper, allowing you to temporarily store resolved cache values in memory during a single request or job execution. This prevents repeated cache hits within the same execution This week's banger is courtesy of @timacdonald87. laravel.com/docs/12.x/cache#…
23
40
4
466
30,580
My new video. Queues in Laravel: Main Things You Need to Know (Two Examples) buff.ly/6ti4MpZ I came up with a challenge to myself: take a complex topic and try to explain/demonstrate the MAIN things in 10-15 minutes. I imagine it as a series. How did I do this time?
1
2
1
65
2,808