Customer Portal
Package docs status
Section titled “Package docs status”This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.
| Field | Value |
|---|---|
| Composer package | capell-app/customer-portal |
| Package slug | customer-portal |
| Product group | Capell Commerce |
| Tier | premium |
| Bundle | commerce |
| Runtime contexts | admin, frontend |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Source repository | capell-app/packages |
| Source path | packages/customer-portal |
| Docs source | packages/customer-portal/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Customer Portal is an Available, Schema-owning Capell package in the Capell Commerce product group. It ships as capell-app/customer-portal and extends these surfaces: admin, frontend.
Customer Portal adds an authenticated account dashboard, package-contributed self-service items and preferences, and a support request workflow.
Signed-in customers view profile details, manage preferences, and follow support requests, while staff triage those requests in a site-scoped admin resource.
Status details:
- Status: Available
- Tier: premium
- Bundle: commerce
- Composer package:
capell-app/customer-portal - Namespace:
Capell\CustomerPortal - Theme key: not applicable
Why It Matters
Section titled “Why It Matters”For developers: Typed provider contracts let companion packages contribute dashboard, profile, preference, and self-service data without changing the portal controller or views.
For teams: Customers get a consistent private account area, and staff get a clear status and priority workflow for incoming support requests.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.




- Customer portal frontend dashboard (frontend, required evidence).
- Customer portal preferences and support form (frontend, required evidence).
- Customer portal support triage admin list (frontend, required evidence).
- Customer portal support triage edit screen (frontend, required evidence).
- Customer portal account settings (frontend, supplementary evidence).
- Customer portal support request thread (frontend, supplementary evidence).
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\CustomerPortal\Providers\CustomerPortalServiceProviderCapell\CustomerPortal\Providers\AdminServiceProvider
Config files
Section titled “Config files”packages/customer-portal/config/capell-customer-portal.php
Migrations
Section titled “Migrations”packages/customer-portal/database/migrations/2026_05_31_150000_01_create_portal_accounts_table.phppackages/customer-portal/database/migrations/2026_05_31_150000_02_create_portal_support_requests_table.phppackages/customer-portal/database/migrations/2026_06_06_000001_create_portal_support_request_replies_table.phppackages/customer-portal/database/migrations/2026_10_04_000001_remove_implicit_timestamp_updates_from_customer_portal.php
Models
Section titled “Models”PortalAccountPortalSupportRequestPortalSupportRequestReply
Filament classes
Section titled “Filament classes”EditPortalSupportRequestListPortalSupportRequestsPortalSupportRequestResource
Route files
Section titled “Route files”packages/customer-portal/routes/web.php
Policies
Section titled “Policies”PortalSupportRequestPolicy
Extension contracts
Section titled “Extension contracts”PortalDashboardItemProviderPortalPreferencesProviderPortalProfileProviderPortalSelfServiceItemProvider
Events
Section titled “Events”PortalSupportRequestStatusChangedPortalSupportRequestSubmitted
Actions
Section titled “Actions”AddSupportRequestReplyActionBuildPortalPrivacyExportActionErasePortalPrivacyDataActionFindOrCreatePortalAccountActionResolveAuthenticatedPortalAccountActionResolvePortalDashboardItemsActionResolvePortalPreferenceOptionsActionResolvePortalPrivacyRecordIdsActionResolvePortalProfileActionResolvePortalSelfServiceItemsActionSubmitSupportRequestActionUpdatePortalPreferencesActionUpdateSupportRequestStatusAction
Data objects
Section titled “Data objects”PortalAccountIdentityDataPortalDashboardItemDataPortalPreferenceOptionDataPortalPreferencesDataPortalPrivacyRecordIdsDataPortalProfileDataPortalSelfServiceItemDataSupportRequestData
Manifest action API
Section titled “Manifest action API”addSupportRequestReply: Capell\CustomerPortal\Actions\AddSupportRequestReplyActionfindOrCreatePortalAccount: Capell\CustomerPortal\Actions\FindOrCreatePortalAccountActionresolvePortalDashboardItems: Capell\CustomerPortal\Actions\ResolvePortalDashboardItemsActionresolvePortalPreferenceOptions: Capell\CustomerPortal\Actions\ResolvePortalPreferenceOptionsActionresolvePortalProfile: Capell\CustomerPortal\Actions\ResolvePortalProfileActionresolvePortalSelfServiceItems: Capell\CustomerPortal\Actions\ResolvePortalSelfServiceItemsActionsubmitSupportRequest: Capell\CustomerPortal\Actions\SubmitSupportRequestActionupdatePortalPreferences: Capell\CustomerPortal\Actions\UpdatePortalPreferencesAction
Manifest contributions
Section titled “Manifest contributions”admin-resource: Capell\CustomerPortal\Manifest\PortalSupportRequestResourceContributionmigration: Capell\CustomerPortal\Manifest\CustomerPortalMigrationsContributionmodel: Capell\CustomerPortal\Manifest\CustomerPortalModelsContributionroute: Capell\CustomerPortal\Manifest\CustomerPortalFrontendRoutesContribution
Health checks
Section titled “Health checks”Capell\CustomerPortal\Health\CustomerPortalHealthCheck
Blade views
Section titled “Blade views”packages/customer-portal/resources/views/dashboard.blade.php
Cache tags
Section titled “Cache tags”customer-portal
Data Model
Section titled “Data Model”- Required tables:
portal_accounts,portal_support_requests,portal_support_request_replies. - Models:
PortalAccount,PortalSupportRequest,PortalSupportRequestReply. - Core record references in migrations:
sites via site_id. - Migration files:
2026_05_31_150000_01_create_portal_accounts_table.php,2026_05_31_150000_02_create_portal_support_requests_table.php,2026_06_06_000001_create_portal_support_request_replies_table.php,2026_10_04_000001_remove_implicit_timestamp_updates_from_customer_portal.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: migrations declare cascade-on-delete relationships; no timed pruning or retention schedule is declared in
capell.json.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/core. - Admin navigation: declares
admin-resource: PortalSupportRequestResourceContribution; each Filament page or resource controls its own navigation visibility. - Admin/editor extensions: none declared.
- Permissions:
ViewAny:PortalSupportRequest,View:PortalSupportRequest,Update:PortalSupportRequest; access also governed by package policies:PortalSupportRequestPolicy. - Public routes: loads
routes/web.php; registersCustomerPortalFrontendRoutesContribution. - Database changes: package migrations are declared.
- Config:
config/capell-customer-portal.php. - Settings: no package settings declared.
- Queues or schedules: none declared.
- Cache tags:
customer-portal. - Commands: none declared.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/admin,capell-app/core. - Run migrations before opening package resources or public routes.
- Review package configuration before production-like verification:
config/capell-customer-portal.php. - Review middleware, throttling, signatures, and public-output safety in
routes/web.phpbefore exposing routes. - Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
- Custom write integrations must preserve invalidation for
customer-portalcache tags.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Admin screen or command fails on missing table | Package migrations have not run | Check the tables listed in Data Model | Run host migrations and rerun the focused package test |
| Route returns unexpected output | Route cache, middleware, or signed URL setup does not match the package route file | Check the route files listed in Technical Shape | Clear route cache and verify middleware before exposing public routes |
| Public output leaks unexpected state | Render data, cache variation, or authoring boundary has regressed | Check public Blade, cache tags, and public-output safety tests | Move data loading out of Blade and rerun the package public-output tests |
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/customer-portal. - Open the package admin page or resource and verify Customer Portal is available.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Worked extension examples
- Admin guide
- Configuration files:
config/capell-customer-portal.php. - Troubleshooting
- Screenshot contract
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Access Gate, Contacts, Document Lifecycle, Events, Newsletter, Payments, Privacy Center.