DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+9 =
Submit