restore composer.json, add mysqli extension

This commit is contained in:
2026-04-15 17:02:52 +05:00
commit 77cf56a348
4317 changed files with 1397107 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
<?php
namespace Database\Seeders;
use App\Models\Brand;
use Illuminate\Database\Seeder;
class BrandSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
Brand::create([
'name' => [
'uz' => 'Apple',
'ru' => 'Яблоко',
],
"position"=>1,
'image' => 'apple.png',
]);
Brand::create([
'name' => [
'uz' => 'Samsung',
'ru' => 'Самсунг',
],
"position"=>2,
'image' => 'samsung.png',
]);
Brand::create([
'name' => [
'uz' => 'Xiaomi',
'ru' => 'Шаоми',
],
"position"=>3,
'image' => 'xiaomi.png',
]);
Brand::create([
'name' => [
'uz' => 'Huawei',
'ru' => 'Хуавей',
],
"position"=>4,
'image' => 'huawei.png',
]);
Brand::create([
'name' => [
'uz' => 'Nokia',
'ru' => 'Нокиа',
],
"position"=>5,
'image' => 'nokia.png',
]);
Brand::create([
'name' => [
'uz' => 'Sony',
'ru' => 'Сони',
],
"position"=>6,
'image' => 'sony.png',
]);
}
}