Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
<?php
// Composer: "fzaninotto/faker": "v1.3.0"
use
Faker\Factory
as
Faker
;
class
ItemsTableSeeder
extends
Seeder
{
public
function
run
(
)
{
$faker
=
Faker
::
create
(
)
;
foreach
(
range
(
1
,
10
)
as
$index
)
{
Item
::
create
(
[
]
)
;
}
}
}