How to Create Resources in FilamentPHP - FilamentPHP for Beginners
Special thanks to Hostinger for sponsoring this video. Hostinger is an incredible web hosting provider where you can set up shared hosting, cloud hosting, VPS hosting, email hosting, and SSL certificates. Hostinger has made a name for itself due to its fast load times, simplicity, free domains, and powerful servers. Here’s my affiliate link for 10% off:
In this tutorial, we explore the process of building resources in FilamentPHP. We begin by creating a new resource using the php artisan make:filament-resource command and examining the resulting ProductResource class. We then dive into defining fields for the resource’s table overview and form view using the table and form methods, respectively. We also cover various form components, such as TextInput, MarkdownEditor, Toggle, DatePicker, Select, and FileUpload. Additionally, we discuss how to group related fields using Group and Section components and how to set up relationships between resources. Finally, we demonstrate how to delete resources and provide a brief overview of what we’ll cover in the next video, including resource modifiers and filters.
📚 New Udemy Course
If you’re looking to level up your Laravel skills? My new course “Mastering Laravel 10 Query Builder, Eloquent & Relationships“ is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel:
💌 Newsletter
Sign up for my free weekly email newsletter:
🔥 Resources
- Twitter:
- Instagram:
- Blog:
- Patreon:
- GitHub:
- TikTok: @codewithdary
⌛Timestamps
00:00 - Introduction
02:43 - Resource Properties
05:14 - The table() and form() methods
05:49 - Defining the Table View
08:46 - Creating a Product
12:17 - Defining the Form Views / Functionalities
23:11 - Creating Our First Product Through Filament
23:57 - What The forms() Method Does…
24:43 - Deleting Products
25:10 - Outro
#laravel #filamentphp #hostinger #codewithdary
1 view
26
4
4 days ago 00:03:47 1
SCOOTER - HOW MUCH IS THE FISH (Metal cover)
6 days ago 00:20:57 1
Incredible Discovery In The Grand Canyon? - YouTube
6 days ago 00:29:11 1
Interview with Valentin Kozlov, Valmix Company | Potato Tour Across Russia (Part 2) 🥔🚜
1 week ago 00:57:54 1
Lost In Time : The Isolated House Where She Lost Her Mind | How I Find Abandoned Placess
1 week ago 01:01:39 1
TIME SLIP STORIES (SN 18 EP 38) TRUE UNEXPLAINABLE EXPERIENCES WITH MISSING TIME & TIME SLIPS
1 week ago 00:00:31 2
How To Train Your Dragon | Big Game Spot
1 week ago 00:05:05 59
How to Clown - Misha Usov - Professional Clown School
1 week ago 00:38:45 2
Try Not To Laugh Challenge#7 | Instant Regret Fails Compilation 2024 | Amazing People
1 week ago 00:29:31 1
Membership Perks
2 weeks ago 07:10:32 1
У края бездны-(2024) все серии 1-4. Освобождение Мариуполя.Причитайте ограничения в описании ниже!!
2 weeks ago 00:08:00 16
Dream Theater - Midnight Messiah (Official Video)
2 weeks ago 00:05:14 2
Clara Fernández: The Spanish Sensation Transforming Pole Vaulting
2 weeks ago 00:27:54 5
Секретные космические лазеры устраивают пожары на Земле?
2 weeks ago 01:18:02 2
The Spider’s Web: Britain’s Second Empire | The Secret World of Finance
2 weeks ago 00:03:57 46
Britney Spears - ...Baby One More Time (Official Video)
2 weeks ago 00:17:09 1
Blouse crochet pattern - how to crochet summer top
2 weeks ago 00:15:40 1
Как вязать росток кардигана Вязание укороченными рядами How to knit a cardigan back height
2 weeks ago 00:04:50 20
In The Army Now (Status Quo) • Drum Cover
2 weeks ago 00:38:56 2
Time Team Podcast | New excavations at Pompeii
2 weeks ago 00:56:53 3
DOGMAN, MIRRORED MEN AND HIGHWAY GHOSTS: TALES FROM THE ROAD (SN 18 EP 36) TRUE SPOOKY STORIES
2 weeks ago 00:15:46 2
🐹 КРОТЫ УХОДЯТ НАВСЕГДА! Как прогнать кротов с участка дымовой самодельной шашкой
2 weeks ago 01:12:12 1
Crochet Lacey Vest Tutorial | Chenda DIY
2 weeks ago 00:09:56 1
Mother Tucker: The Donald Trump & Jared Kushner Family Business Suckled From The Tit Of Saudi Arabia
2 weeks ago 00:18:46 1
I Crocheted a Houndstooth Vest | Pattern Walk-through