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
1 month ago 00:05:17 1
The Ultimate Email Extractor in 2024: YellowPages Scraper 🌎
1 month ago 00:03:55 1
Pokemon GO Joystick, Teleport, Auto Walk - How to Get Pokemon GO Spoofer iOS & Android 2024 FREE
1 month ago 00:12:05 1
ZenBusiness Review 2024: What Makes It Stand Out?
1 month ago 00:04:14 1
Paramore: Decode [OFFICIAL VIDEO]
1 month ago 02:01:18 1
Half-Life 2: 20th Anniversary Documentary
1 month ago 00:36:24 2
Best of the Worst Trivia!
1 month ago 00:03:07 1
Delta Executor iOS iPhone Android NO KEY - Roblox Script Executor Mobile NEW UPDATE 2024
1 month ago 00:03:04 1
Bach, Organ Sonata No. 4 in E minor (BWV 528) 3. Un poco Allegro.
1 month ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
1 month ago 00:03:04 1
Arena Of Valor Hack - How to Get Unlimited Vouchers! iOS Android