Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to add dummy records using factory in laravel 8

Route::get('test-factory',function(){
   return User::factory()->times(10)->create();
});
 
PREVIOUS NEXT
Tagged: #add #dummy #records #factory #laravel
ADD COMMENT
Topic
Name
1+9 =