Skip to content

Instantly share code, notes, and snippets.

@winni4eva
Created January 13, 2019 16:16
Show Gist options
  • Save winni4eva/e6191dd867209135f412160c27bb2c36 to your computer and use it in GitHub Desktop.
Save winni4eva/e6191dd867209135f412160c27bb2c36 to your computer and use it in GitHub Desktop.
Users Table Seeder
<?php
use Illuminate\Database\Seeder;
use App\User;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(User::class, 5)->create();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment