Add initial Laravel project files

This commit is contained in:
UronShrestha
2024-07-04 10:19:45 +05:45
parent 5f580b918e
commit 64b0881058
216 changed files with 27560 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?php
namespace Database\Seeders;
use App\Models\User;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
// User::factory(10)->create();
User::factory()->create([
'name' => 'Test User',
'email' => 'test@example.com',
]);
}
}