laravel-api-simple-blog/database/seeders/UserSeeder.php

20 lines
376 B
PHP
Raw Permalink Normal View History

2024-10-16 23:18:03 +03:00
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Support\Str;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
class UserSeeder extends Seeder
{
public function run(): void
{
//
User::factory(15)->create();
}
}