How to Create Resources in FilamentPHP - FilamentPHP for Beginners

Subscribers:
64,200
Published on ● Video Link: https://www.youtube.com/watch?v=j-d3TLlvQp4



Category:
Tutorial
Duration: 25:36
904 views
67


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: https://www.hostinger.com/codewithdary

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: https://www.udemy.com/course/mastering-laravel-10-query-builder-eloquent-relationships/?referralCode=C784C3DB5B8925207FCB

💌 Newsletter
Sign up for my free weekly email newsletter:
https://newsletter.codewithdary.com/

🔥 Resources
- Twitter: https://twitter.com/codewithdary
- Instagram: https://www.instagram.com/codewithdary/
- Blog: https://blog.codewithdary.com/
- Patreon: https://www.patreon.com/user?u=30307830
- GitHub: https://github.com/codewithdary
- TikTok: https://www.tiktok.com/@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




Other Videos By Code With Dary


2023-08-30Laravel its NEW and Powerful Benchmark Class to Improve Your App Performance #laravel #shorts
2023-08-29How to Setup The Global Search in FilamentPHP - FilamentPHP for Beginners
2023-08-28How To EASILY Customize Default Validation Messages in Laravel #laravel #shorts
2023-08-283 Eloquent Methods You Did Not Know for Selecting Specific Columns #laravel #shorts
2023-08-27How to Create The Customer, Order & Category Resources in FilamentPHP - FilamentPHP for Beginners
2023-08-25How to EASILY Create Foreign Keys in Laravel with foreignIdFor() in Under 60 Seconds #shorts
2023-08-24How to Use Table Actions in FilamentPHP - FilamentPHP for Beginners
2023-08-24Separating Validation from Controllers is a MUST in Laravel… HERE’S HOW #shorts
2023-08-23How to Create Resource Modifiers & Resource Filters in Filamentphp - FilamentPHP for Beginners
2023-08-22Eager Loading vs Lazy Loading in Laravel Explained in 60 Seconds #shorts
2023-08-21How to Create Resources in FilamentPHP - FilamentPHP for Beginners
2023-08-21Laravel Casts Explained in Under 60 Seconds #laravel #shorts
2023-08-18Defining Our Migrations, Models & Relationships for FilamentPHP - FilamentPHP for Beginners
2023-08-17How to ONLY Return Values From an Associative Array in PHP #php #shorts
2023-08-16How to Customize Colors, Logo, Font Family, Favicon & Disable Dark Mode - FilamentPHP for Beginners
2023-08-15Laravel's Flash Method: The Perfect Tool for Short-Lived Messages #laravel #shorts
2023-08-14Introduction & Setup of FilamentPHP v3 - FilamentPHP for Beginners - Complete FilamentPHP Tutorial
2023-08-14Removing Duplicate Values in PHP Made Simple #php #shorts
2023-07-07How to Enable and Disable Maintenance Mode in Laravel #laravel #shorts
2023-07-06How to Simplify Your Laravel Configurations with Config Variables #laravel #shorts
2023-07-04Brave Browser Blocking Laravel Breeze Styling? Here's What to Do #laravel #shorts



Tags:
how to add admin panel in laravel
10 create custom widgets - laravel filament tutorial
a winning combination for dynamic web apps in laravel filament
laravel filament packages dashboard
filament admin panel
introduction to laravel filament
how to setup filament laravel
how to build admin panels in laravel
filament for beginners
learn filament step by step
resources in laravel
resources in filamentphp
how to create resources filamentphp
how to build tables in filament