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
5 days ago 01:33:20 1
Reinhardt Buhr - The Space Between (2021 Full Album) - Ambient Ableton Live Looping
5 days ago 00:03:19 1
How’s It Gonna Be? (Official Video)
5 days ago 00:06:21 1
How to Invest Tether USDT and Earn up to 10% Profit Daily | Best USDT Investment Website 2024
5 days ago 00:05:14 1
Unlock the Power of Local SEO! Learn How with Local Kingdom: Lead Generation SEO – Now 91% Off!
5 days ago 00:04:24 1
Ed Sheeran - Shape of You (Official Music Video)
5 days ago 00:04:36 1
Данечка собирается в Африку / Daniela goes to Africa
5 days ago 00:08:59 1
Execution by Their Own Hands: How Russian Soldiers Chose Death Instead of Resistance
5 days ago 00:08:02 1
Dill Erases all wrinkles on the face! 100 year old recipe! Top Recipes
5 days ago 00:22:15 1
🧪🧪🧪🧪Прорыв в технологии Варп-двигателя.
5 days ago 00:02:20 1
Decadent | “Madness” Trailer
5 days ago 00:10:31 1
Basic Handgun Calibers Explained - Semi-Automatic Ammo Breakdown
5 days ago 00:34:43 1
30 Minute Full Body Cardio HIIT Workout [NO REPEAT]
5 days ago 00:25:36 1
People CHANGE When They Know You’re a Chosen One! (7 Shocking Behaviors You Won’t Believe!)
5 days ago 00:55:10 1
Albania migration scam & Hijab CIVIL WAR in Islam
5 days ago 00:05:00 1
Heilung | Anoana [Official Video]
5 days ago 00:20:03 1
Is It Pyramids All The Way Up? - Questions For Corbett
5 days ago 01:27:01 1
#ЯВОЛОНТЕР. Истории неравнодушных. Режиссёрская версия
5 days ago 00:22:13 1
How did Hezbollah’s chief react to Israel’s 2-day terror blitz? | The Cradle Bytes
5 days ago 01:15:01 1
Scott Ritter: Lebanon Device Attacks, Hezbollah Military Strategy & The BRICS Palestine Solution
5 days ago 00:01:46 1
1 ЛОЖКА В КОМПОСТ и ПЕРЕПРЕЮТ ДАЖЕ КОСТИ! Безопасный БЫСТРЫЙ СУПЕРкомпост уже для ОСЕННИХ посадок.
5 days ago 01:41:50 2
Ashish Sharma: ’I was replaced last minute in an Aishwarya Rai Akshay Kumar movie by ...!’
5 days ago 00:04:15 1
Stop T vs No T - American English Pronunciation
5 days ago 00:06:04 1
Pokemon Go Hack 2024 - Pokemon Go Spoofer with Joystick Teleport GPS iPOGO (iOS & Android)