Repository navigation
v1.4.0-alpha - Template System & Minimal Template
Pre-release
Pre-release
·
53 commits
to main
since this release
What's new in v1.4.0-alpha
Template System Finalized
mailView()now falls back to thedefaulttemplate automatically when a view is missing in the active template- Custom templates only need to override the views they want to change — everything else is inherited
- Switch templates by setting
MAIL_UI_TEMPLATE=namein.env
Minimal Template
A second fully working template (MAIL_UI_TEMPLATE=minimal) that demonstrates the template system:
- Dark top-bar navigation instead of a sidebar
- Table-style inbox list
- Clean, card-based message view
- Compose, contacts, search, and settings fall back to the
defaulttemplate automatically
Template Contract
Each template's layouts/app.blade.php must implement:
@yield('title')— page title@yield('content')— main content area@stack('scripts')— per-page JavaScript
Controllers pass $folders and $currentFolder to every authenticated view.
Note: This is an alpha release.