Newest content
-
· 6 mins, 1195 words
How to Clone Eloquent Model: Create or Replicate
-
· 4 mins, 728 words
Filament Relation Manager: Live-Update Main Form After Changes
-
Random Quick Laravel Tip:
Higher order collection messageCollections also provide support for "higher order messages", which are short-cuts for performing common actions on collections. This example calculates the price per group of products on an offer.
$offer = ['name' => 'offer1','lines' => [['group' => 1, 'price' => 10],['group' => 1, 'price' => 20],['group' => 2, 'price' => 30],['group' => 2, 'price' => 40],['group' => 3, 'price' => 50],['group' => 3, 'price' => 60]]];$totalPerGroup = collect($offer['lines'])->groupBy->group->map->sum('price'); -
· 6 mins, 1026 words · premium
Filament: One Filter for Multiple Widgets with Livewire Events
-
· 8 mins, 1509 words · premium
Filament Custom Edit Profile Page: Multiple Forms and Full-Page Design
-
· 4 mins, 734 words
Filament: Edit Only Single Record with Custom Page
-
Premium Course: [NEW] Laravel Web to Mobile API: Reuse Old Code with Services
-
· 2 mins, 380 words
Filament: Disable Dashboard and Auto-Redirect to URL After Login
-
· 16 mins, 3060 words · premium
Timeslot Checkout Page with Reservation Timer: Livewire and Alpine
-
· 2 mins, 279 words
Filament: Validate One Form Field "Live" Before Submit
-
· 2 mins, 258 words
Filament: Add Custom Action Button in the Middle of the Form
-
· 2 mins, 349 words
Laravel AI-Generated Code with GitHub Copilot: 4 Personal Examples