Laravel Seeders: How to Pass Parameters?

What if you want to seed some data, related to previously created data? Let me show you an example.

Repository of free Laravel Tips: https://github.com/LaravelDaily/laravel-tips

– – – – –
Support the channel by checking out our products:
– Enroll in my Laravel courses: https://laraveldaily.teachable.com
– Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
– Buy my ready-made Laravel scripts: https://laraveldaily.gumroad.com
– Purchase my Livewire Kit: https://livewirekit.com
– Subscribe to my weekly newsletter: http://bit.ly/laravel-newsletter

Source: https://www.youtube.com/watch?v=quowhrwzshA

Leave a Reply

Your email address will not be published. Required fields are marked *