Filament Info Pages provides a simple way to create and manage single-page content, such as "About Us" or "Privacy Policy" pages, directly within your Filament admin panel. It offers a straightforward interface for quickly adding and editing these informational pages without unnecessary complexity.
This package is also a standalone part of a CMS project: FilaPress.
Note: This plugin relies on several excellent Laravel/Filament plugins. Before installing Filament Info Pages, you must ensure that all the following dependencies are installed and properly configured in your project. Eloquent Sluggable, Filament Versionable, Filament SEO, Filament Curator
Resource | Page | Cluster | Migration | Model | Config | View | Localization |
---|---|---|---|---|---|---|---|
✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ✅ |
You can install the package via composer:
composer require rectitude-open/filament-info-pages
You can publish and run the migrations with:
php artisan vendor:publish --tag="filament-info-pages-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="filament-info-pages-config"
Optionally, you can publish the translations using
php artisan vendor:publish --tag="filament-info-pages-translations"
This is the contents of the published config file:
return [
'filament_resource' => RectitudeOpen\FilamentInfoPages\Resources\PageResource::class,
'model' => RectitudeOpen\FilamentInfoPages\Models\Page::class,
'navigation_sort' => 0,
'navigation_icon' => 'heroicon-o-document-text',
'datetime_format' => 'Y-m-d H:i:s',
'editor_component_class' => \Filament\Forms\Components\RichEditor::class,
];
The package provides a resource page that allows you to view Pages in your Filament admin panel.
To use the resource page provided by this package, you need to register it in your Panel Provider first.
namespace App\Providers\Filament;
use RectitudeOpen\FilamentInfoPages\FilamentInfoPagesPlugin;
class AdminPanelProvider extends PanelProvider
{
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
FilamentInfoPagesPlugin::make()
]);
}
}
composer test
Please 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.
The MIT License (MIT). Please see License File for more information.