1) BASIC SIMPLE WAY
Database-driven applications often need data pre-seeded into the system for testing and demo purposes.
To make such data, first create the seeder class
ProductTableSeeder
use Faker\Factory as Faker;
use App\Product;
class ProductTableSeeder extends DatabaseSeeder {
pub...