Knowledge Base
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/knowledge-base |
| Package slug | knowledge-base |
| Product group | Capell Engagement & CRM |
| Tier | premium |
| Bundle | engagement-crm |
| Runtime contexts | frontend, admin |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Source repository | capell-app/packages |
| Source path | packages/knowledge-base |
| Docs source | packages/knowledge-base/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Knowledge Base is an Available, Schema-owning Capell package in the Capell Engagement & CRM product group. It ships as capell-app/knowledge-base and extends these surfaces: frontend, admin.
Knowledge Base adds help collections, versioned articles, related content, reader feedback, and public documentation routes.
Editors manage collections and articles in admin, while visitors browse and search published help content under the public knowledge-base path.
Status details:
- Status: Available
- Tier: premium
- Bundle: engagement-crm
- Composer package:
capell-app/knowledge-base - Namespace:
Capell\KnowledgeBase - Theme key: not applicable
Why It Matters
Section titled “Why It Matters”For developers: Actions build sanitized public article data, navigation, search documents, and AI-readable output from the same article records.
For teams: Support teams can publish and revise a self-service help centre, then use article feedback to identify content that needs attention.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.


- Knowledge Base articles admin index (admin, required evidence).
- Knowledge Base article edit and version history (admin, required evidence).
- Knowledge Base public docs index (frontend, required evidence).
- Knowledge Base public article (frontend, required evidence).
- Knowledge Base articles admin index with admin sidebar menu open (admin, supplementary evidence).
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\KnowledgeBase\Providers\KnowledgeBaseServiceProviderCapell\KnowledgeBase\Providers\ConsoleServiceProviderCapell\KnowledgeBase\Providers\AdminServiceProvider
Config files
Section titled “Config files”packages/knowledge-base/config/capell-knowledge-base.php
Migrations
Section titled “Migrations”packages/knowledge-base/database/migrations/2026_05_31_000001_create_knowledge_base_tables.phppackages/knowledge-base/database/migrations/2026_07_10_000001_add_feedback_deduplication_key.phppackages/knowledge-base/database/migrations/2026_10_04_000001_remove_implicit_timestamp_updates_from_knowledge_base.php
Models
Section titled “Models”KnowledgeBaseArticleKnowledgeBaseArticleFeedbackKnowledgeBaseArticleVersionKnowledgeBaseCollectionKnowledgeBaseRelatedArticle
Filament classes
Section titled “Filament classes”KnowledgeBaseArticleResourceCreateKnowledgeBaseArticleEditKnowledgeBaseArticleListKnowledgeBaseArticlesArticleVersionsRelationManagerRelatedArticlesRelationManagerKnowledgeBaseCollectionResourceCreateKnowledgeBaseCollectionEditKnowledgeBaseCollectionListKnowledgeBaseCollections
Route files
Section titled “Route files”packages/knowledge-base/routes/web.php
Policies
Section titled “Policies”AbstractKnowledgeBaseResourcePolicyKnowledgeBaseArticlePolicyKnowledgeBaseCollectionPolicy
Actions
Section titled “Actions”BuildAiReadableKnowledgeBaseOutputActionBuildKnowledgeBaseArticleFeedbackSummaryActionBuildKnowledgeBaseArticleSchemaActionBuildKnowledgeBaseFrontendResourcesActionBuildKnowledgeBaseSearchDocumentsActionBuildPublicKnowledgeBaseArticleDataActionBuildPublicKnowledgeBaseNavigationActionCreateKnowledgeBaseArticleActionCreateKnowledgeBaseArticleVersionActionCreateKnowledgeBaseCollectionActionFindPublicKnowledgeBaseArticleActionForgetKnowledgeBaseArticleFeedbackSummaryActionPruneKnowledgeBaseHistoryActionPublishKnowledgeBaseArticleVersionActionRecordKnowledgeBaseArticleFeedbackActionRelateKnowledgeBaseArticlesActionSanitizeKnowledgeBaseArticleHtmlActionSeedKnowledgeBaseDemoActionSeedKnowledgeBaseScreenshotFixtureActionUpdateKnowledgeBaseArticleActionUpdateKnowledgeBaseCollectionAction
Data objects
Section titled “Data objects”AiReadableKnowledgeBaseArticleDataCreateKnowledgeBaseArticleDataCreateKnowledgeBaseArticleVersionDataCreateKnowledgeBaseCollectionDataKnowledgeBaseArticleFeedbackSummaryDataKnowledgeBaseSearchDocumentDataPublicKnowledgeBaseArticleDataPublicKnowledgeBaseNavigationItemDataRecordKnowledgeBaseArticleFeedbackDataSeedKnowledgeBaseDemoDataUpdateKnowledgeBaseArticleDataUpdateKnowledgeBaseCollectionData
Command signatures
Section titled “Command signatures”capell:knowledge-base-democapell:knowledge-base:prune
Manifest action API
Section titled “Manifest action API”buildAiReadableKnowledgeBaseOutput: Capell\KnowledgeBase\Actions\BuildAiReadableKnowledgeBaseOutputActionbuildKnowledgeBaseArticleSchema: Capell\KnowledgeBase\Actions\BuildKnowledgeBaseArticleSchemaActionbuildKnowledgeBaseSearchDocuments: Capell\KnowledgeBase\Actions\BuildKnowledgeBaseSearchDocumentsActionbuildPublicKnowledgeBaseArticleData: Capell\KnowledgeBase\Actions\BuildPublicKnowledgeBaseArticleDataActionbuildPublicKnowledgeBaseNavigation: Capell\KnowledgeBase\Actions\BuildPublicKnowledgeBaseNavigationActioncreateKnowledgeBaseArticle: Capell\KnowledgeBase\Actions\CreateKnowledgeBaseArticleActioncreateKnowledgeBaseArticleVersion: Capell\KnowledgeBase\Actions\CreateKnowledgeBaseArticleVersionActionpruneKnowledgeBaseHistory: Capell\KnowledgeBase\Actions\PruneKnowledgeBaseHistoryActionpublishKnowledgeBaseArticleVersion: Capell\KnowledgeBase\Actions\PublishKnowledgeBaseArticleVersionActionrecordKnowledgeBaseArticleFeedback: Capell\KnowledgeBase\Actions\RecordKnowledgeBaseArticleFeedbackActionrelateKnowledgeBaseArticles: Capell\KnowledgeBase\Actions\RelateKnowledgeBaseArticlesActionseedKnowledgeBaseDemo: Capell\KnowledgeBase\Actions\SeedKnowledgeBaseDemoAction
Scheduled commands
Section titled “Scheduled commands”capell:knowledge-base:prune (daily; manifest declared)
Console command classes
Section titled “Console command classes”DemoCommandPruneKnowledgeBaseHistoryCommandSeedKnowledgeBaseScreenshotFixtureCommand
Manifest contributions
Section titled “Manifest contributions”admin-resource: Capell\KnowledgeBase\Manifest\KnowledgeBaseArticleResourceContributionadmin-resource: Capell\KnowledgeBase\Manifest\KnowledgeBaseCollectionResourceContributionmigration: Capell\KnowledgeBase\Manifest\KnowledgeBaseMigrationsContributionmodel: Capell\KnowledgeBase\Manifest\KnowledgeBaseModelsContributionroute: Capell\KnowledgeBase\Manifest\KnowledgeBaseFrontendRoutesContributionscheduled-job: Capell\KnowledgeBase\Manifest\KnowledgeBaseRetentionScheduleContribution
Health checks
Section titled “Health checks”Capell\KnowledgeBase\Health\KnowledgeBaseHealthCheck
Blade views
Section titled “Blade views”packages/knowledge-base/resources/views/article.blade.phppackages/knowledge-base/resources/views/index.blade.phppackages/knowledge-base/resources/views/partials/collection-navigation.blade.php
Cache tags
Section titled “Cache tags”knowledge-base
Data Model
Section titled “Data Model”- Required tables:
knowledge_base_collections,knowledge_base_articles,knowledge_base_article_versions,knowledge_base_article_feedback,knowledge_base_related_articles. - Models:
KnowledgeBaseArticle,KnowledgeBaseArticleFeedback,KnowledgeBaseArticleVersion,KnowledgeBaseCollection,KnowledgeBaseRelatedArticle. - Migration files:
2026_05_31_000001_create_knowledge_base_tables.php,2026_07_10_000001_add_feedback_deduplication_key.php,2026_10_04_000001_remove_implicit_timestamp_updates_from_knowledge_base.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: migrations declare cascade-on-delete relationships and null-on-delete relationships; retention is scheduled through
capell:knowledge-base:prune(daily; declared in the manifest).
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/core,capell-app/discovery-foundation,capell-app/frontend. - Admin navigation: declares
admin-resource: KnowledgeBaseArticleResourceContribution,admin-resource: KnowledgeBaseCollectionResourceContribution; each Filament page or resource controls its own navigation visibility. - Admin/editor extensions: none declared.
- Permissions: access also governed by package policies:
AbstractKnowledgeBaseResourcePolicy,KnowledgeBaseArticlePolicy,KnowledgeBaseCollectionPolicy. - Public routes: loads
routes/web.php; registersKnowledgeBaseFrontendRoutesContribution. - Database changes: package migrations are declared.
- Config:
config/capell-knowledge-base.php. - Settings: no package settings declared.
- Queues or schedules: scheduled commands
capell:knowledge-base:prune (daily; manifest declared). - Cache tags:
knowledge-base. - Commands:
capell:knowledge-base-demo,capell:knowledge-base:prune.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/admin,capell-app/core,capell-app/discovery-foundation,capell-app/frontend. - Run migrations before opening package resources or public routes.
- Review package configuration before production-like verification:
config/capell-knowledge-base.php. - Review middleware, throttling, signatures, and public-output safety in
routes/web.phpbefore exposing routes. - Keep the host Laravel scheduler running so package-registered schedules can execute:
capell:knowledge-base:prune (daily; manifest declared). - 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
knowledge-basecache 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 |
| 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/knowledge-base. - See it working: run
php artisan capell:knowledge-base-demo. - Open the package admin surface at
/admin/knowledge-base/articles/knowledge-base-articlesand confirm Knowledge Base is available.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Worked extension examples
- Admin guide
- Configuration files:
config/capell-knowledge-base.php. - Troubleshooting
- Screenshot contract
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Discovery Foundation, Search, Seo Suite, Site Discovery.