Skip to content

Overview

This Laravel application is a multi-brand real estate CMS. It supports three frontends and a shared backend admin. The codebase mixes legacy data models with newer modules (builder sections, content blocks, REIT investor reports), so this documentation separates observed behavior from inferred intent.

Key Observations - Routing selects the site context based on WEBSITE_CODE or the current host (routes/web.php, app/Services/Website.php). - Content is primarily stored in the Dictionary table and accessed through DictionarizedModel helpers (app/Models/Dictionary.php, app/Models/DictionarizedModel.php). - Regional and community content use CategoriesCities and Locations for hierarchy; pages are stored in MGPages and PPages. - A visual page builder is present, backed by builder_sections and content_blocks plus the VvvebJS assets (resources/assets/pagebuilder/, resources/assets/vendor/vvvebjs/). - Assets (media, slideshows, forms) are managed via a backend module under /assets routes and stored in Files, Slideshows, Forms, etc. - Investor Relations reports for the REIT site are implemented with dedicated controllers and models.

Architecture At a Glance - Backend Admin: Metronic-based UI, route groups under routes/web/backend.php and subfiles. - Frontend: Blade templates under resources/views/mintocom, resources/views/mintoapartments, resources/views/mintoapartmentreit. - Content Processing: placeholder tokens expanded via App\Helpers\Placeholders (e.g., resources/views/mintocom/placeholders/). - Media: S3 uploads and URLs via App\Models\Legacy\S3MediaManager.

What Is Implemented vs Inferred - Implemented: multi-site routing, regional/community hierarchy, page builder UI and storage, asset and forms management, REIT reports. - Partially implemented: reusable builder blocks (BuilderController::getReusable is empty), some legacy redirects. - Inferred: richer cross-site inheritance and full template versioning beyond ContentVersions (not explicitly wired end-to-end).

For detail, start with architecture.md and the business-model/ section.