Last active
September 14, 2015 08:31
-
-
Save Wolg/9fd76d93e1880539770c to your computer and use it in GitHub Desktop.
Revisions
-
Wolg revised this gist
Sep 14, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ <?php foreach(range(0, 50) as $i) { $names = ['Али', 'Акболат', 'Ваха', 'Гази', 'Дага', 'Джамбек', 'Заур', 'Зураб', 'Ибрагим', 'Иса', 'Магомед', 'Муса', 'Назарбек', 'Рамзан', 'Сосланбек', 'Усман', 'Хаджи', 'Иван']; -
Wolg renamed this gist
Sep 14, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Wolg created this gist
Sep 14, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ foreach(range(0, 50) as $i) { $names = ['Али', 'Акболат', 'Ваха', 'Гази', 'Дага', 'Джамбек', 'Заур', 'Зураб', 'Ибрагим', 'Иса', 'Магомед', 'Муса', 'Назарбек', 'Рамзан', 'Сосланбек', 'Усман', 'Хаджи', 'Иван']; $lnames = ['Айдамиров', 'Бокой', 'Дуарбеков', 'Муратов', 'Гоголадзе', 'Иванов']; DB::table('users')->insert([ 'name' => $names[array_rand($names)] . ' ' . $lnames[array_rand($lnames)], 'email' => str_random(10) . rand(1950, 1996) .'@чечня.рф', 'password' => bcrypt('secret'), ]); }