Docs
CommunityA Filament plugin for creating elegant documentation pages within your admin panel.
Author:
Eighty Nine
Package health
BetaAutomated checks of this plugin's Composer package
13 checks
-
Warning:
Current Laravel version supported
—
Package does not co-install with current Laravel
13.0; the newest co-installable line is12.0, which still receives active support but is not the current stable. -
Passed:
Current PHP version supported
—
Constraint
^8.2supports current PHP8.5. - Skipped: Current Symfony version supported
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist).
- Failed: Commit and release recency — Inactive: no commit date available; last release 388 days ago. View details on Plumb
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
- Skipped: GitHub Actions pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Dependabot or Renovate configured
- Skipped: Dependency update cooldown configured
- Failed: Provides a security policy — View details on Plumb
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Features
- Requirements
- Installation
- Quick Start
- Configuration
- Advanced Usage
- Commands
- Customization
- License
A Filament plugin for creating elegant documentation pages within your admin panel.
#Features
- Markdown Support: Full CommonMark compatibility with syntax highlighting
- Real-time Search: Instant search with context-aware results
- Responsive Design: Mobile-first with dark mode support
- Multi-language: Built-in internationalization support
- Theme Integration: Seamlessly integrates with Filament themes
- Artisan Commands: CLI tools for generating pages and content
#Requirements
- PHP 8.1+
- Laravel 10.0+
- Filament 3.0+
#Installation
composer require eightynine/filament-docs
Publish configuration (optional):
php artisan vendor:publish --tag="filament-docs-config"
Create documentation directory:
mkdir -p resources/docs
#Quick Start
- Create a documentation page:
php artisan make:filament-docs-page UserManual \
--navigation-group="Documentation" \
--navigation-icon="heroicon-o-book-open"
- Add markdown files to
resources/docs/:
# Getting Started
Welcome to the documentation!
- Access your documentation in the Filament admin panel.
#Configuration
The configuration file config/filament-docs.php allows customization:
return [
'default_docs_path' => resource_path('docs'),
'search' => [
'debounce_ms' => 300,
],
'ui' => [
'sidebar_width' => 'lg:w-80',
'default_navigation_group' => 'Documentation',
],
];
#Advanced Usage
#Custom Documentation Page
<?php
namespace App\Filament\Pages;
use EightyNine\FilamentDocs\Pages\DocsPage;
class UserManual extends DocsPage
{
protected static ?string $navigationIcon = 'heroicon-o-book-open';
protected static ?string $navigationGroup = 'Documentation';
protected static ?string $title = 'User Manual';
protected function getDocsPath(): string
{
return resource_path('user-manual');
}
protected function getSectionOrder(string $filename): int
{
return match($filename) {
'introduction' => 1,
'installation' => 2,
'usage' => 3,
default => 99,
};
}
}
#Multi-language Support
// config/filament-docs.php
return [
'localization' => [
'supported_locales' => ['en', 'es', 'fr'],
'locale_paths' => [
'en' => 'docs/en',
'es' => 'docs/es',
'fr' => 'docs/fr',
],
],
];
Directory structure:
resources/docs/
├── en/
│ ├── getting-started.md
│ └── user-guide.md
├── es/
│ ├── getting-started.md
│ └── user-guide.md
└── fr/
├── getting-started.md
└── user-guide.md
#Commands
#Create Documentation Page
# Basic page
php artisan make:filament-docs-page MyDocs
# With options
php artisan make:filament-docs-page ApiDocs \
--navigation-group="Developer" \
--navigation-icon="heroicon-o-code-bracket" \
--title="API Documentation" \
--slug="api-docs"
#Create Markdown Content
# Basic markdown file
php artisan make:filament-docs-markdown "Getting Started"
# With template
php artisan make:filament-docs-markdown "API Guide" --template=api
Available templates: basic, guide, api, troubleshooting, feature
#Customization
#Custom Views
Publish views for customization:
php artisan vendor:publish --tag="filament-docs-views"
#Custom Styling
Publish assets:
php artisan vendor:publish --tag="filament-docs-assets"
Add custom CSS:
.docs-container {
@apply max-w-7xl mx-auto;
}
.docs-sidebar {
@apply w-64 bg-white dark:bg-gray-900;
}
#Performance Optimization
Enable caching for large documentation:
class CachedDocsPage extends DocsPage
{
protected function getCachedContent(string $filename): string
{
return Cache::remember(
"docs.content.{$filename}",
3600,
fn() => $this->loadAndProcessMarkdown($filename)
);
}
}
#License
MIT License. See LICENSE.md for details.
The author
Eighty Nine is a software developer who loves to create plugins and packages for the Laravel ecosystem. He is passionate about sharing his knowledge and experience with other developers through medium and social media. He believes in pouring all the love and effort in his work.
From the same author
Advanced Widgets
A collection of advanced widgets for the Panel Builder plugin.
Author:
Eighty Nine
Approvals
This package allows you to easily implement approval flows in your Laravel Filament application.
Author:
Eighty Nine
Excel Import
This package adds a new action to your filament resource table, allowing you to easily import data to your model from excel files.
Author:
Eighty Nine
Page Alerts
This package allows you to easily add alerts to your application's pages.
Author:
Eighty Nine
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese