Model Factories in Laravel 9 | Full Laravel 9 Course | Laravel For Beginners | Learn Laravel
This video will show you how you can setup factories to generate fake data through the Faker class β Want to learn the most popular PHP framework? Laravel makes your development process a lot easier without sacrificing your applications functionalities.
πΒ New Udemy Course
If you're looking to level up your Laravel skills, my new course "Udemy Migirations, Seeders, Factories, 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
π² Letβs plan a meeting
Plan a (paid) 1-hour meeting on Calendly to do portfolio reviews, code reviews resume reviews or a coaching session for Laravel. Please read the description before booking: https://calendly.com/codewithdary
π Newsletter
Sign up for my free weekly email newsletter: https://www.newsletter.codewithdary.com
π₯ Resources
- PHP Hosting (10% DISCOUNT): https://www.hostinger.com/codewithdary
- TikTok: https://www.tiktok.com/@codewithdary
- Instagram: https://www.instagram.com/codewithdary/
- Twitter: https://twitter.com/codewithdary
- Blog: https://blog.codewithdary.com/
- Newsletter: https://newsletter.codewithdary.com/
- Patreon: https://www.patreon.com/user?u=30307830
- GitHub: https://github.com/codewithdary/laravel-9-for-beginners
π Useful links
- Laravel 8 Course: https://www.youtube.com/watch?v=376vZ1wNYPA&t
π Table of Content
00:00 - Introduction
00:49 - Creating our Factory class
01:47 - Defining our Post Factory
02:59 - Updating our Factory with the Faker class
05:42 - Seeding our Post Factory
06:46 - Running our Post Factory
#laravel #framework #php #laravel9