Defining Our Migrations, Models & Relationships for FilamentPHP - FilamentPHP for Beginners

In this tutorial, we’re going to walk you through the process of building the backend for an ecommerce site using FilamentPHP. The focus of this episode is on migrations and models, and we’ll explain how to create them in Laravel before using them in FilamentPHP. The tutorial covers the creation of migrations and models for categories, brands, customers, products, and orders, as well as the relationships between them. We’ll also include tips on using the fillable property over the guarded property and the importance of defining relationships between models. By the end of the tutorial, you’ll have a solid understanding of how to create the necessary migrations and models for a FilamentPHP ecommerce site. 📚 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 01:05 - Creating Models & Migrations 02:16 - Defining our Migrations 12:59 - Defining the fillable property 16:03 - Defining Relationships 24:04 - Outro #laravel #filamentphp #hostinger #codewithdary
Back to Top