fix: standardize language to English in README and AlertSettings

feat: add 24 model factories for Help, Shop, Community, Game, User domains

- Translate mixed Dutch/English strings in README.md and AlertSettings.php
- Add HasFactory trait to 23 models
- Create factories for Help (6), Shop (4), Community (5), Game (2), User (7)
This commit is contained in:
root
2026-05-23 16:57:44 +02:00
parent 33c03e8b7b
commit 574b5d6e17
49 changed files with 647 additions and 27 deletions
@@ -0,0 +1,26 @@
<?php
namespace Database\Factories\Help;
use App\Models\Help\WebsiteHelpCenterCategory;
use Illuminate\Database\Eloquent\Factories\Factory;
class WebsiteHelpCenterCategoryFactory extends Factory
{
protected $model = WebsiteHelpCenterCategory::class;
public function definition(): array
{
return [
'name' => $this->faker->unique()->word(),
'content' => $this->faker->paragraph(),
'position' => $this->faker->numberBetween(1, 10),
'image_url' => $this->faker->imageUrl(),
'button_text' => $this->faker->word(),
'button_url' => $this->faker->url(),
'button_color' => '#eeb425',
'button_border_color' => '#facc15',
'small_box' => false,
];
}
}