Skip to content

Instantly share code, notes, and snippets.

@prodeveloper
Created September 18, 2016 06:36
Show Gist options
  • Select an option

  • Save prodeveloper/a19ea760aaf29c7d681b42d7856fe7b2 to your computer and use it in GitHub Desktop.

Select an option

Save prodeveloper/a19ea760aaf29c7d681b42d7856fe7b2 to your computer and use it in GitHub Desktop.
Creating new student records using faker
$student = new App\Student();$student->name = $faker->name ; $student->email = $faker->email ; $student->course=$faker->word; $student->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment