rectitude-open / filament-info-pages
A Filament plugin for easily managing single-page content.
Requires
- php: ^8.1
- cviebrock/eloquent-sluggable: ^10.0 || ^11.0 || ^12.0
- filament/filament: ^3.0
- mansoor/filament-versionable: ^0.0.13
- rectitude-open/filament-tinyeditor-6: ^6.3
- spatie/laravel-package-tools: ^1.15.0
- tomatophp/filament-media-manager: ^1.1
Requires (Dev)
- larastan/larastan: ^2.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is auto-updated.
Last update: 2025-05-30 11:04:23 UTC
README
Filament Info Pages
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.
Resource | Page | Cluster | Migration | Model | Config | View | Localization |
---|---|---|---|---|---|---|---|
✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ✅ |
Installation
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 views using
php artisan vendor:publish --tag="filament-info-pages-views"
This is the contents of the published config file:
'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',
Usage
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() ]); } }
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.