Theme Bistro
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/theme-bistro |
| Package slug | theme-bistro |
| Product group | Capell Themes |
| Tier | premium |
| Bundle | themes |
| Runtime contexts | frontend, console |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Labs |
| Source repository | capell-app/packages |
| Source path | packages/theme-bistro |
| Docs source | packages/theme-bistro/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Theme Bistro is an Available, No schema impact Capell theme in the Capell Themes product group. It ships as capell-app/theme-bistro and extends these surfaces: frontend, console.
Theme Bistro adds cinematic restaurant presentation, editorial menus, dish discovery, chef storytelling, visit details, private dining, and a resilient reservation path.
Editors compose normal Layout Builder content while guests receive a complete restaurant journey that remains readable without JavaScript and becomes cinematic when the package runtime is available.
Evidence: src/ThemeBistroServiceProvider.php, src/Enums/WidgetComponentEnum.php, resources/views/sections/cinematic-stage.blade.php, resources/views/sections/menu-board.blade.php, src/Support/Demo/BistroDemoContent.php, resources/js/bistro-frontend.js, resources/css/theme-bistro.css.
Status details:
- Status: Available
- Tier: premium
- Bundle: themes
- Composer package:
capell-app/theme-bistro - Namespace:
Capell\ThemeBistro - Theme key:
bistro
Why It Matters
Section titled “Why It Matters”For developers: The package keeps restaurant rendering, motion, optional-integration resolution, and build output inside a focused theme boundary using the shared frontend-resource seam.
For teams: Restaurant teams can update menus, prices, stories, hours, and reservation details in one familiar CMS workflow without commissioning a separate microsite.
Evidence: src/ThemeBistroServiceProvider.php, src/View/Components/ReservationPath.php, build.mjs, resources/views/sections/menu-board.blade.php, resources/views/sections/hours-location.blade.php, resources/views/sections/reservation-banner.blade.php.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.
Desktop, tablet, and mobile variants remain defined in the screenshot contract; this list groups them by workflow.
- Bistro Homepage (frontend, optional).
- Bistro Dinner Menu (frontend, optional).
- Bistro Tasting Menu (frontend, optional).
- Bistro Visit and Contact (frontend, optional).
- Bistro Reservations (frontend, optional).
- Bistro Empty Menu (frontend, optional).
- Bistro Page Not Found (frontend, optional).
Technical Shape
Section titled “Technical Shape”- Service providers:
Capell\ThemeBistro\ThemeBistroServiceProvider. - Actions:
InstallBistroThemeDemoAction. - Command signatures:
capell:theme-bistro-demo. - Console command classes:
DemoCommand. - Manifest contributions:
admin-page: Capell\ThemeBistro\Manifest\ThemeManagementPageContribution. - Health checks:
Capell\ThemeBistro\Health\ThemeBistroHealthCheck. - Blade views:
packages/theme-bistro/resources/views/components/reservation-path.blade.php,packages/theme-bistro/resources/views/page.blade.php,packages/theme-bistro/resources/views/sections/chef-story.blade.php,packages/theme-bistro/resources/views/sections/cinematic-stage.blade.php,packages/theme-bistro/resources/views/sections/content-listing.blade.php,packages/theme-bistro/resources/views/sections/cta.blade.php,packages/theme-bistro/resources/views/sections/dish-gallery--filmstrip.blade.php,packages/theme-bistro/resources/views/sections/dish-gallery.blade.php,packages/theme-bistro/resources/views/sections/footer.blade.php,packages/theme-bistro/resources/views/sections/hero.blade.php,packages/theme-bistro/resources/views/sections/hours-location.blade.php,packages/theme-bistro/resources/views/sections/menu-board--tasting.blade.php,and 7 more. - Cache tags:
theme-bistro.
Data Model
Section titled “Data Model”This theme has no schema impact. It relies on core Capell site, page, locale, and theme records instead of declaring package-owned tables.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/core,capell-app/theme-foundation,capell-app/frontend,capell-app/layout-builder. - Admin navigation: declares
admin-page: ThemeManagementPageContribution; each Filament page or resource controls its own navigation visibility. - Admin/editor extensions: none declared.
- Permissions: none declared in
capell.json. - Public routes: none declared.
- Database changes: no package migrations declared.
- Config: no package config files.
- Settings: no package settings declared.
- Queues or schedules: none declared.
- Cache tags:
theme-bistro. - Commands:
capell:theme-bistro-demo.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/core,capell-app/theme-foundation,capell-app/frontend,capell-app/layout-builder. - 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
theme-bistrocache 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 |
| 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/theme-bistro. - No package-specific setup command or migrations are declared.
- Run
php artisan listand verify the package command signatures are registered.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Troubleshooting
- Screenshot contract
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Theme Foundation, Layout Builder, Form Builder, Bookings.
- Focused tests:
vendor/bin/pest packages/theme-bistro/tests --configuration=phpunit.xml.