feat: add CategoryImporter service and SeedCategoriesCommand for seeding category data

- Implemented CategoryImporter service to handle bulk export/import logic for categories.
- Created SeedCategoriesCommand to seed category tables from JSON files in data/seed/.
- Added validation and normalization for category data during import.
- Ensured proper error handling and user feedback during the seeding process.
This commit is contained in:
hamed
2026-06-30 21:58:44 +03:30
parent 22937dfa56
commit 9eb5a03258
22 changed files with 5236 additions and 1032 deletions
+4
View File
@@ -20,6 +20,10 @@ services:
App\:
resource: '../src/'
App\Category\Command\SeedCategoriesCommand:
arguments:
$projectDir: '%kernel.project_dir%'
App\Doctor\Controller\DoctorController:
arguments:
$projectDir: '%kernel.project_dir%'