Skip to content

Controllers

Namespace: Unusualify\Modularous\Http\Controllers
Location: src/Http/Controllers/

All HTTP controllers in the Modularous package. They form a four-level hierarchy rooted at Controller, with specialized controllers for admin panel, REST APIs, authentication, and utility endpoints.

Inheritance Hierarchy

Illuminate\Routing\Controller
└── Controller
    ├── CoreController
    │   ├── PanelController
    │   │   └── BaseController          ← standard CRUD admin controllers
    │   ├── ApiController               ← REST API base
    │   └── FrontController             ← public-facing frontend base
    └── (Auth\Controller → Auth\LoginController, RegisterController, …)

Base Classes

ClassFilePurpose
ControllerController.phpRoot controller — middleware utilities, exception handler binding
CoreControllerCoreController.phpModule discovery, repository init, route config
PanelControllerPanelController.phpAuthorization, scoping, pagination for admin panel
BaseControllerBaseController.phpFull CRUD (index/create/store/edit/update/destroy) + Inertia support
ApiControllerApiController.phpREST API base — versioning, rate-limiting, includes, bulk ops
FrontControllerFrontController.phpAbstract base for public-facing routes

Specialized Controllers

ClassFilePurpose
ChatControllerChatController.phpChat messages, attachments, pinned messages
CurrencyExchangeControllerCurrencyExchangeController.phpExchange rates and currency conversion
DashboardControllerDashboardController.phpAdmin dashboard with configurable block items
FileLibraryControllerFileLibraryController.phpFile uploads, local and cloud (S3/Azure)
FilepondControllerFilepondController.phpTemporary Filepond upload/revert/preview
GlideControllerGlideController.phpOn-the-fly image transformation via Glide
ImpersonateControllerImpersonateController.phpAdmin user impersonation
MediaLibraryControllerMediaLibraryController.phpImage uploads with dimensions, alt text, captions
MetricControllerMetricController.phpMetric items with connectors and date-range filtering
PasswordControllerPasswordController.phpPassword reset and generation
ProcessControllerProcessController.phpProcess workflow status and field updates
ProfileControllerProfileController.phpUser profile — info, security, company
TagControllerTagController.phpTag search and creation
UIPreferencesControllerUIPreferencesController.phpPersist sidebar/topbar/navigation preferences
VerificationControllerVerificationController.phpEmail address verification

Authentication Controllers

All under src/Http/Controllers/Auth/ (namespace …\Auth).

ClassFilePurpose
Auth\ControllerAuth/Controller.phpBase for auth workflows, guest middleware
LoginControllerAuth/LoginController.phpLogin form + 2FA
RegisterControllerAuth/RegisterController.phpUser registration with optional company
ForgotPasswordControllerAuth/ForgotPasswordController.phpSend password-reset email
PreRegisterControllerAuth/PreRegisterController.phpEmail verification before registration
CompleteRegisterControllerAuth/CompleteRegisterController.phpFinish registration after token validation
ResetPasswordControllerAuth/ResetPasswordController.phpPassword reset after token validation

API Controllers

Under src/Http/Controllers/API/.

ClassFilePurpose
API\LanguageControllerAPI/LanguageController.phpServe translation strings via JSON API