Demo Kit
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/demo-kit |
| Package slug | demo-kit |
| Product group | Capell Foundation |
| Tier | free |
| Bundle | foundation |
| Runtime contexts | admin, frontend, console |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Labs |
| Source repository | capell-app/packages |
| Source path | packages/demo-kit |
| Docs source | packages/demo-kit/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Demo Kit is an Available, Schema-owning Capell package in the Capell Foundation product group. It ships as capell-app/demo-kit and extends these surfaces: admin, frontend, console.
Demo Kit creates deterministic demo users, sites, languages, pages, media, and package examples from a repeatable generation plan.
Administrators can start demo generation from a package page or console command, then inspect the generated pages and components on the frontend.
Evidence: capell.json, src/Actions/BuildDemoGenerationPlanAction.php, src/Support/Creator/DemoCreator.php, src/Providers/DemoKitServiceProvider.php, docs/overview.admin.md, docs/screenshots.json, src/Filament/Pages/DemoKitPage.php, tests/Feature/Commands/FullDemoCommandTest.php.
Status details:
- Status: Available
- Tier: free
- Bundle: foundation
- Composer package:
capell-app/demo-kit - Namespace:
Capell\DemoKit - Theme key: not applicable
Why It Matters
Section titled “Why It Matters”For developers: Typed generation plans and package demo command orchestration make local setup, screenshots, and QA data reproducible from a chosen seed.
For teams: Teams can evaluate a populated site before entering real content and reset the sample state between demos, with explicit guards against production seeding.
Evidence: src/Data/DemoGenerationPlanData.php, src/Actions/BuildDemoGenerationPlanAction.php, src/Console/Commands/FullDemoCommand.php, tests/Unit/Actions/BuildDemoGenerationPlanActionTest.php, docs/overview.admin.md, src/Actions/ResetDemoSitesAction.php, src/Console/Commands/Concerns/GuardsAgainstProduction.php, tests/Feature/Commands/AdminDemoCommandTest.php.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.
- Demo Kit admin page (admin, required).
- Insights consent priming capture (frontend, optional).
- Generated demo page content widget (frontend, required).
- Generated homepage section widget (frontend, required).
Technical Shape
Section titled “Technical Shape”- Service providers:
Capell\DemoKit\Providers\DemoKitServiceProvider. - Config files:
packages/demo-kit/config/capell-demo-kit.php. - Migrations:
packages/demo-kit/database/migrations/2026_07_19_130000_create_demo_kit_generation_runs_table.php. - Models:
DemoKitGenerationRun. - Filament classes:
HomepageSectionWidgetConfigurator,DemoKitPage. - Livewire components:
KitchenSinkStressWidget,ResourcesLibrary. - Actions:
BuildDemoGenerationPlanAction,BuildDemoPageContentViewDataAction,BuildKitchenSinkLayoutWidgetEntriesAction,ConfigureKitchenSinkReferenceWidgetsAction,CreateDemoLanguagesAction,CreateDemoSiteAction,CreateDemoUsersAction,CreateKitchenSinkContextPagesAction,CreateKitchenSinkSourceWidgetsAction,CreateKitchenSinkVariantWidgetsAction,AssertDefaultDemoInstallHealthAction,DemoInstallHealthData,and 10 more. - Data objects:
DemoGenerationPlanData,DemoPageContentViewData,DemoPagePlanData,DemoProfileData,DemoSiteGenerationPlanData. - Jobs:
RunDemoKitGenerationJob. - Command signatures:
capell:demo-kit-doctor,capell:demo-kit-full-demo. - Console command classes:
AdminDemoCommand,GuardsAgainstProduction,HasLanguagesOption,HasSitesOption,DemoCommand,DemoKitDoctorCommand,FullDemoCommand,KitchenSinkDemoCommand,RefreshDemoStitchPagesCommand. - Manifest contributions:
admin-page: Capell\DemoKit\Manifest\DemoKitAdminPageContribution,asset: Capell\DemoKit\Manifest\DemoKitAssetsContribution,configurator: Capell\DemoKit\Manifest\DemoKitConfiguratorContribution,console-command: Capell\DemoKit\Manifest\DemoKitConsoleCommandsContribution,dashboard-widget: Capell\DemoKit\Manifest\DemoKitRenderablesContribution,frontend-component: Capell\DemoKit\Manifest\DemoKitFrontendComponentsContribution,health-check: Capell\DemoKit\Health\DemoKitHealthCheck. - Health checks:
Capell\DemoKit\Health\DemoKitHealthCheck. - Blade views:
packages/demo-kit/resources/views/components/widget/demo-page-content-assets.blade.php,packages/demo-kit/resources/views/components/widget/demo-page-content.blade.php,packages/demo-kit/resources/views/components/widget/homepage-section.blade.php,packages/demo-kit/resources/views/filament/pages/demo-kit.blade.php,packages/demo-kit/resources/views/livewire/kitchen-sink-stress-widget.blade.php,packages/demo-kit/resources/views/livewire/resources-library.blade.php. - Cache tags:
demo-kit.
Data Model
Section titled “Data Model”- Models:
DemoKitGenerationRun. - Migration files:
2026_07_19_130000_create_demo_kit_generation_runs_table.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: Docs gap: migrations and manifest contributions do not prove a cascade, pruning command, or timed retention policy.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/core,capell-app/frontend,capell-app/layout-builder. - Admin navigation: declares
admin-page: DemoKitAdminPageContribution; each Filament page or resource controls its own navigation visibility. - Admin/editor extensions:
configurator: DemoKitConfiguratorContribution,dashboard-widget: DemoKitRenderablesContribution. - Permissions: none declared in
capell.json. - Public routes: none declared.
- Database changes: migration files exist in the scaffold, but
capell.jsondoes not currently declare active migrations. - Config:
config/capell-demo-kit.php. - Settings: no package settings declared.
- Queues or schedules: queue jobs
RunDemoKitGenerationJob. - Cache tags:
demo-kit. - Commands:
capell:demo-kit-doctor,capell:demo-kit-full-demo.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/admin,capell-app/core,capell-app/frontend,capell-app/layout-builder. - Review package configuration before production-like verification:
config/capell-demo-kit.php. - 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
demo-kitcache 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 |
| Background work does not run | Queue worker or declared schedule is not active | Check the jobs and scheduled commands listed in Technical Shape |
Start the queue worker or host scheduler, then run the focused command or package test |
| 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/demo-kit. - Run the required setup:
php artisan migrate. - Open the Demo Kit admin page and confirm the admin workflow loads.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Configuration files:
config/capell-demo-kit.php. - Troubleshooting
- Screenshot contract
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Layout Builder.
- Focused tests:
vendor/bin/pest packages/demo-kit/tests --configuration=phpunit.xml.