Newest content
-
· 4 mins, 642 words
Filament: Excel Export and Import Examples - Two Packages
-
· 7 mins, 1212 words
Filament Activity Logs: THREE Packages [Comparison Review]
-
Random Quick Laravel Tip:
Various options to format diffForHumans()In Carbon, did you know you can add various options to format diffForHumans()? Read the docs for more examples.
$user->created_at->diffForHumans();=>
"17 hours ago"
$user->created_at->diffForHumans(['parts' => 2]);=>
"17 hours 54 minutes ago"
$user->created_at->diffForHumans(['parts' => 3'join' => ', ',]);=>
"17 hours, 54 minutes, 50 seconds ago"
$user->created_at->diffForHumans(['parts' => 3,'join' => ', ','short' => true,]);=>
"17h, 54m, 50s ago"
-
· 3 mins, 598 words
PHP: YODA-Style Comparison and Automated Tests
-
· Updated Mar 2024 · 10 mins, 1981 words · premium
Laravel: Delete Old Unused Files - When and How? [Multiple Examples]
-
· 6 mins, 1140 words · premium
Filament: User Registration by Email Invitations
-
Premium Course: Laravel 11 Multi-Tenancy: All You Need To Know
-
· 4 mins, 725 words
Filament: Table Tabs - Dynamically from Database
-
· 3 mins, 561 words
PHP Check for Empty Values: "!" vs "is_null" vs "isset"
-
· 2 mins, 351 words
Filament: Show Calendar of Tasks with FullCalendar
-
· 3 mins, 514 words
Filament: Login with Google using Laravel Socialite
-
· 2 mins, 390 words
Filament Soft Deletes: Filter, Restore and Force Delete