This plugin adds a markdown powered knowledge base to your filament app. You write markdown files, and the package turns them into a fully navigable documentation panel with a sidebar, breadcrumbs, a table of contents and global search.
A companion plugin integrates the knowledge base into your regular panels: a help menu on your resources and pages, documentation previews in modals and a link to the knowledge base in the sidebar.
The full documentation is available at guava.cz.
| Filament version | Plugin version |
|---|---|
| 3.x | 1.x |
| 4.x | 2.x |
| 5.x | 3.x |
For older filament versions, please check the branch of the respective version.
You can install the package via composer:
composer require guava/filament-knowledge-baseNext, install @tailwindcss/typography if you don't have it already, since we use prose to style the markdown output:
npm install -D @tailwindcss/typographyThen publish the package assets:
php artisan filament:assetsFinally, make sure you have a custom filament theme (read here how to create one) and add the following to your theme.css file so the CSS is properly built:
@plugin "@tailwindcss/typography";
@source '../../../../vendor/guava/filament-knowledge-base/src/**/*';
@source '../../../../vendor/guava/filament-knowledge-base/resources/views/**/*';For the remaining setup steps, please see the installation docs.
The knowledge base needs its own panel. Register the KnowledgeBasePlugin on it:
use Guava\FilamentKnowledgeBase\Plugins\KnowledgeBasePlugin;
$panel->plugin(KnowledgeBasePlugin::make());And the KnowledgeBaseCompanionPlugin on your regular panel(s):
use Guava\FilamentKnowledgeBase\Plugins\KnowledgeBaseCompanionPlugin;
$panel->plugin(KnowledgeBaseCompanionPlugin::make()
->knowledgeBasePanelId('knowledge-base')
);Then create your first documentation page:
php artisan docs:makeEverything else, including the markdown features, modal previews, help menus and help actions, is covered in the documentation.
composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
- Lukas Frey
- All Contributors
- Phiki - syntax highlighting
- league/commonmark - markdown parsing
- Spatie - Our package skeleton is a modified version of Spatie's Package Tools
The MIT License (MIT). Please see License File for more information.

