Skip to content

Instantly share code, notes, and snippets.

@prondubuisi
Created January 23, 2019 06:47
Show Gist options
  • Save prondubuisi/00fbab076b626a056f5aeabedaa10ecf to your computer and use it in GitHub Desktop.
Save prondubuisi/00fbab076b626a056f5aeabedaa10ecf to your computer and use it in GitHub Desktop.
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
factory(App\Product::class, 10)->create();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment