How eyt-dev/master works
This Laravel application appears to provide poultry-farm operations alongside feed formulation and administrative management. The principal visible workflow is an Add2Farm API request to retrieve or change daily records, which queries farm, flock, hangar, and stock-related data and returns a translated response. Other visible areas include authentication, formulation, and store-view administration. The README describes Laravel rather than this product; unsampled routes and controllers limit certainty about how the broader subsystems are wired, so only evidenced relationships are drawn.
Main entry points: DailyRecordController.php Daily Records API · Farm.php Farms · Flock.php Flocks · Hangar.php Hangars
Components 22
Farm Operations
- Daily Records API
app/Http/Controllers/Api/Add2Farm/DailyRecordController.php - API Base
app/Http/Controllers/Api/Add2Farm/BaseController.php - Farms
app/Models/Farm.php - Flocks
app/Models/Flock.php - Daily Records
app/Models/DailyRecord.php - Hangars
app/Models/Hangar.php - Flock Allocations
app/Models/FlockHangar.php - Hangar Stock
app/Models/MaterialStockHangar.php - Material Stock
app/Models/MaterialStock.php - Farm API
app/Http/Controllers/Api/Add2Farm/FarmController.php - Flock API
app/Http/Controllers/Api/Add2Farm/FlockController.php - API Translations
app/Services/Add2Farm/TranslationService.php
Feed and Configuration
- Formulation API
app/Http/Controllers/Api/FormulationController.php - Formulations
app/Models/Formulation.php - Feed Forms
app/Models/Form.php
Identity and Administration
- Admin Accounts
app/Models/Admin.php - Web Login
app/Http/Controllers/Auth/LoginController.php - Settings
app/Models/Setting.php - Store Views
app/Http/Controllers/Backend/StoreViewController.php - Store View Data
app/Models/StoreView.php - Country Regions
app/Models/CountryRegion.php
Other components
- API Client
Connections 21
- API Client → Daily Records API: requests
- Daily Records API → Daily Records: queries and writes
app/Http/Controllers/Api/Add2Farm/DailyRecordController.php - Daily Records API → Farms: queries
app/Http/Controllers/Api/Add2Farm/DailyRecordController.php - Daily Records API → Flocks: queries
app/Http/Controllers/Api/Add2Farm/DailyRecordController.php - Daily Records API → Hangars: queries
app/Http/Controllers/Api/Add2Farm/DailyRecordController.php - Daily Records API → Hangar Stock: uses allocations
app/Http/Controllers/Api/Add2Farm/DailyRecordController.php - Daily Records API → API Base: extends
app/Http/Controllers/Api/Add2Farm/DailyRecordController.php - API Base → API Translations: uses
app/Http/Controllers/Api/Add2Farm/BaseController.php - Farms → Hangars: has many
app/Models/Farm.php - Farms → Flocks: has many
app/Models/Farm.php - Flocks → Flock Allocations: allocates
app/Models/Flock.php - Hangars → Hangar Stock: allocates stock
app/Models/Hangar.php - Hangar Stock → Material Stock: references
app/Models/MaterialStockHangar.php - Formulation API → Formulations: queries
app/Http/Controllers/Api/FormulationController.php - Formulation API → Feed Forms: queries
app/Http/Controllers/Api/FormulationController.php - Formulations → Admin Accounts: belongs to
app/Models/Formulation.php - Web Login → Admin Accounts: authenticates
app/Http/Controllers/Auth/LoginController.php - Web Login → Settings: reads
app/Http/Controllers/Auth/LoginController.php - Store Views → Store View Data: manages
app/Http/Controllers/Backend/StoreViewController.php - Store Views → Country Regions: loads options
app/Http/Controllers/Backend/StoreViewController.php - Admin Accounts → Settings: has setting
app/Models/Admin.php