Created
September 18, 2016 06:36
-
-
Save prodeveloper/a19ea760aaf29c7d681b42d7856fe7b2 to your computer and use it in GitHub Desktop.
Creating new student records using faker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $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