Coding Conventions
Observed Style
- PHP code is PSR-like with camel-cased methods in legacy models.
- Table names are often uppercase and mapped in model $table properties.
Content Storage Pattern
- Use Util::saveDictionary() for translatable HTML or text fields.
- Define Dictionary_* relationships in models extending DictionarizedModel.
File and Media Patterns
- Use Files and S3MediaManager for media upload and URL generation.
- Keep Kind, City, and Category consistent for asset lookups.
When Adding New Modules
- Add admin routes in routes/web/backend/*.php.
- Add views under resources/views/minto/ or brand-specific directories.
- Add JS under resources/assets/minto1/js/page/ or brand-specific assets.