- update `IFNEX_File_Map.md` to include new migrations and models from phases 2 and 3 - update `IFNEX_Phase0_Checklist.md` to reflect completed status of phase 0 and progress on subsequent phases - add `IFNEX_Roadmap.md` to outline project milestones and future development stages
233 lines
7.8 KiB
Markdown
233 lines
7.8 KiB
Markdown
# نقشه فایلهای پروژه IFNEX
|
||
|
||
> **آخرین بروزرسانی:** 2026-08-29
|
||
|
||
---
|
||
|
||
## ۱. Migrations
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `database/migrations/..._create_countries_table.php` | ۰ |
|
||
| 2 | `database/migrations/..._create_shipments_table.php` | ۰ |
|
||
| 3 | `database/migrations/..._create_shipment_carrier_mappings_table.php` | ۰ |
|
||
| 4 | `database/migrations/..._create_shipment_tracking_events_table.php` | ۰ |
|
||
| 5 | `database/migrations/..._create_shipment_items_table.php` | ۰ |
|
||
| 6 | `database/migrations/..._create_shipping_rates_table.php` | ۰ |
|
||
| 7 | `database/migrations/..._create_system_settings_table.php` | ۰ |
|
||
| 8 | `database/migrations/..._create_users_table.php` | ۰ |
|
||
| 9 | `database/migrations/..._create_currencies_table.php` | ۲ |
|
||
| 10 | `database/migrations/..._create_shipment_packages_table.php` | ۲ |
|
||
| 11 | `database/migrations/..._create_shipment_status_histories_table.php` | ۲ |
|
||
| 12 | `database/migrations/..._add_state_notes_to_shipments_table.php` | ۲ |
|
||
| 13 | `database/migrations/..._add_calling_code_to_countries_table.php` | ۲ |
|
||
| 14 | `database/migrations/..._create_wallets_table.php` | ۲ |
|
||
| 15 | `database/migrations/..._create_wallet_transactions_table.php` | ۲ |
|
||
|
||
---
|
||
|
||
## ۲. Models
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Models/Country.php` | ۰ |
|
||
| 2 | `app/Models/Shipment.php` | ۰+۲ |
|
||
| 3 | `app/Models/ShipmentCarrierMapping.php` | ۰ |
|
||
| 4 | `app/Models/ShipmentTrackingEvent.php` | ۰+۲ |
|
||
| 5 | `app/Models/ShipmentItem.php` | ۰ |
|
||
| 6 | `app/Models/ShipmentPackage.php` | ۲ |
|
||
| 7 | `app/Models/ShipmentStatusHistory.php` | ۲ |
|
||
| 8 | `app/Models/ShippingRate.php` | ۰ |
|
||
| 9 | `app/Models/SystemSetting.php` | ۰ |
|
||
| 10 | `app/Models/User.php` | ۰+۲ |
|
||
| 11 | `app/Models/Currency.php` | ۲ |
|
||
| 12 | `app/Models/Wallet.php` | ۲ |
|
||
| 13 | `app/Models/WalletTransaction.php` | ۲ |
|
||
|
||
---
|
||
|
||
## ۳. Filament Resources
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Filament/Resources/CountryResource.php` | ۰ |
|
||
| 2 | `app/Filament/Resources/CountryResource/Pages/ListCountries.php` | ۰ |
|
||
| 3 | `app/Filament/Resources/CountryResource/Pages/CreateCountry.php` | ۰ |
|
||
| 4 | `app/Filament/Resources/CountryResource/Pages/EditCountry.php` | ۰ |
|
||
| 5 | `app/Filament/Resources/ShipmentResource.php` | ۰+۳ |
|
||
| 6 | `app/Filament/Resources/ShipmentResource/Pages/ListShipments.php` | ۰ |
|
||
| 7 | `app/Filament/Resources/ShipmentResource/Pages/CreateShipment.php` | ۰ |
|
||
| 8 | `app/Filament/Resources/ShipmentResource/Pages/ViewShipment.php` | ۰+۳ |
|
||
| 9 | `app/Filament/Resources/ShipmentResource/Pages/EditShipment.php` | ۰ |
|
||
| 10 | `app/Filament/Resources/ShipmentResource/RelationManagers/TrackingEventsRelationManager.php` | ۰+۲ |
|
||
| 11 | `app/Filament/Resources/ShipmentResource/RelationManagers/CarrierMappingsRelationManager.php` | ۰ |
|
||
| 12 | `app/Filament/Resources/ShipmentResource/RelationManagers/ItemsRelationManager.php` | ۰ |
|
||
| 13 | `app/Filament/Resources/ShippingRateResource.php` | ۰ |
|
||
| 14 | `app/Filament/Resources/ShippingRateResource/Pages/ListShippingRates.php` | ۰ |
|
||
| 15 | `app/Filament/Resources/ShippingRateResource/Pages/CreateShippingRate.php` | ۰ |
|
||
| 16 | `app/Filament/Resources/ShippingRateResource/Pages/EditShippingRate.php` | ۰ |
|
||
| 17 | `app/Filament/Resources/CurrencyResource.php` | ۲ |
|
||
| 18 | `app/Filament/Resources/CurrencyResource/Pages/ListCurrencies.php` | ۲ |
|
||
| 19 | `app/Filament/Resources/CurrencyResource/Pages/CreateCurrency.php` | ۲ |
|
||
| 20 | `app/Filament/Resources/CurrencyResource/Pages/EditCurrency.php` | ۲ |
|
||
|
||
---
|
||
|
||
## ۴. Filament Pages
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Filament/Pages/SettingsPage.php` | ۰ |
|
||
| 2 | `app/Filament/Pages/PriceTestPage.php` | ۰ |
|
||
| 3 | `app/Filament/Pages/ImportRatesPage.php` | ۲ |
|
||
| 4 | `resources/views/filament/pages/settings-page.blade.php` | ۰ |
|
||
| 5 | `resources/views/filament/pages/price-test-page.blade.php` | ۰ |
|
||
| 6 | `resources/views/filament/pages/import-rates.blade.php` | ۲ |
|
||
|
||
---
|
||
|
||
## ۵. Controllers
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Http/Controllers/Api/TrackController.php` | ۰ |
|
||
| 2 | `app/Http/Controllers/Api/PricingController.php` | ۰ |
|
||
| 3 | `app/Http/Controllers/Api/AuthController.php` | ۱ |
|
||
| 4 | `app/Http/Controllers/Api/BridgeAuthController.php` | ۱ |
|
||
| 5 | `app/Http/Controllers/Api/Customer/CustomerOrderController.php` | ۱+۲ |
|
||
| 6 | `app/Http/Controllers/Api/WalletController.php` | ۲ |
|
||
| 7 | `app/Http/Controllers/Api/PaymentController.php` | ۲ |
|
||
| 8 | `app/Http/Controllers/Api/DiscountCodeController.php` | ۲ |
|
||
| 9 | `app/Http/Controllers/Api/MockGatewayController.php` | ۲ |
|
||
| 10 | `app/Http/Controllers/OrderController.php` | ۱ |
|
||
| 11 | `app/Http/Controllers/PricingPageController.php` | ۱ |
|
||
| 12 | `app/Http/Controllers/ShipmentPdfController.php` | ۱ |
|
||
|
||
---
|
||
|
||
## ۶. Services
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Services/PriceCalculatorService.php` | ۰ |
|
||
| 2 | `app/Services/TrackingService.php` | ۰ |
|
||
| 3 | `app/Services/PdfService.php` | ۱ |
|
||
| 4 | `app/Services/OrderPaymentService.php` | ۲ |
|
||
|
||
---
|
||
|
||
## ۷. Notifications
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Notifications/ShipmentUpdatedNotification.php` | ۳ |
|
||
|
||
---
|
||
|
||
## ۸. Imports / Exports
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Imports/OldShipmentsImport.php` | ۰ |
|
||
| 2 | `app/Imports/ShippingRatesImport.php` | ۰ |
|
||
| 3 | `app/Exports/ShippingRatesTemplateExport.php` | ۳ |
|
||
|
||
---
|
||
|
||
## ۹. Middleware
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Http/Middleware/ApiKeyMiddleware.php` | ۰ |
|
||
|
||
---
|
||
|
||
## ۱۰. Enums
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `app/Enums/ShipmentStatus.php` | ۰ |
|
||
| 2 | `app/Enums/ShipmentDirection.php` | ۰ |
|
||
| 3 | `app/Enums/ShipmentType.php` | ۰ |
|
||
|
||
---
|
||
|
||
## ۱۱. PDF Views
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `resources/views/pdfs/awb.blade.php` | ۱ |
|
||
| 2 | `resources/views/pdfs/label.blade.php` | ۱ |
|
||
| 3 | `resources/views/pdfs/invoice.blade.php` | ۱ |
|
||
|
||
---
|
||
|
||
## ۱۲. Routes
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `routes/api.php` | ۰+۱+۲ |
|
||
| 2 | `routes/web.php` | ۱ |
|
||
|
||
---
|
||
|
||
## ۱۳. Config
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `config/ifnex.php` | ۰ |
|
||
| 2 | `config/cors.php` | ۰ |
|
||
|
||
---
|
||
|
||
## ۱۴. وردپرس — پلاگین IFNEX Bridge
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `ifnex-bridge/ifnex-bridge.php` | ۱ |
|
||
| 2 | `ifnex-bridge/includes/api-client.php` | ۰ |
|
||
| 3 | `ifnex-bridge/includes/user-bridge.php` | ۱+۲+۳ |
|
||
| 4 | `ifnex-bridge/includes/shortcodes.php` | ۱+۲+۳ |
|
||
| 5 | `ifnex-bridge/includes/tracking-form.php` | ۰ |
|
||
| 6 | `ifnex-bridge/assets/css/ifnex-orders.css` | ۱+۲+۳ |
|
||
| 7 | `ifnex-bridge/assets/css/ifnex-bridge.css` | ۰ |
|
||
| 8 | `ifnex-bridge/assets/js/ifnex-order-form.js` | ۱+۳ |
|
||
|
||
---
|
||
|
||
## ۱۵. وردپرس — قالب IFNEX
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `ifnex/style.css` | ۱ |
|
||
| 2 | `ifnex/functions.php` | ۱ |
|
||
| 3 | `ifnex/header.php` | ۱ |
|
||
| 4 | `ifnex/footer.php` | ۱ |
|
||
| 5 | `ifnex/front-page.php` | ۱ |
|
||
| 6 | `ifnex/page.php` | ۱ |
|
||
| 7 | `ifnex/template-login.php` | ۱ |
|
||
| 8 | `ifnex/template-parts/hero.php` | ۱ |
|
||
| 9 | `ifnex/template-parts/services.php` | ۱ |
|
||
| 10 | `ifnex/template-parts/how-it-works.php` | ۱ |
|
||
| 11 | `ifnex/template-parts/stats.php` | ۱ |
|
||
| 12 | `ifnex/template-parts/testimonials.php` | ۱ |
|
||
| 13 | `ifnex/template-parts/cta.php` | ۱ |
|
||
| 14 | `ifnex/inc/customizer.php` | ۱ |
|
||
| 15 | `ifnex/inc/enqueue.php` | ۱ |
|
||
| 16 | `ifnex/assets/css/main.css` | ۱ |
|
||
| 17 | `ifnex/assets/js/main.js` | ۱ |
|
||
|
||
---
|
||
|
||
## ۱۶. Seeders
|
||
|
||
| # | فایل | فاز |
|
||
|---|------|-----|
|
||
| 1 | `database/seeders/DatabaseSeeder.php` | ۰ |
|
||
| 2 | `database/seeders/CountriesTableSeeder.php` | ۰ |
|
||
| 3 | `database/seeders/SystemSettingSeeder.php` | ۰ |
|
||
|
||
---
|
||
|
||
> مجموع تقریبی: **۱۰۰+ فایل** بین لاراول و وردپرس
|