Add CMS module

Static content pages (CmsPage) manageable from a new Filament resource and
readable via a public API endpoint. Wired into the admin panel with its own
CmsPlugin and "CMS" navigation group.
This commit is contained in:
Nyan Lin Paing
2026-08-30 14:51:57 +07:00
parent 231f5679ef
commit 76f75c5581
26 changed files with 600 additions and 1 deletions
@@ -23,6 +23,7 @@ use Illuminate\Session\Middleware\StartSession;
use Illuminate\View\Middleware\ShareErrorsFromSession;
use Modules\Booking\BookingPlugin;
use Modules\Catalog\CatalogPlugin;
use Modules\Cms\CmsPlugin;
use Modules\Identity\IdentityPlugin;
use Modules\Payment\PaymentPlugin;
use Modules\Reporting\ReportingPlugin;
@@ -49,6 +50,7 @@ class AdminPanelProvider extends PanelProvider
NavigationGroup::make()->label('Routing'),
NavigationGroup::make()->label('Operations'),
NavigationGroup::make()->label('Reports'),
NavigationGroup::make()->label('CMS'),
])
->plugins([
CatalogPlugin::make(),
@@ -57,6 +59,7 @@ class AdminPanelProvider extends PanelProvider
PaymentPlugin::make(),
IdentityPlugin::make(),
ReportingPlugin::make(),
CmsPlugin::make(),
// T6.5 — ops convenience for browsing storage/logs/*.log
// in-browser; distinct from the structured, per-model audit
// trail (AuditLogResource, T6.2). No extra permission gate: