A faceless blog content manager with configurable richtext and markdown support for filament admin panel.
This package is tested for Filament Admin Panel.
Make sure you have installed the admin panel before you continue with the installation. You can check the documentation here
PHP: 8.1
Laravel: 9
You can install the package via composer:
composer require thianpri/filament-lab
php artisan filament-lab:install
php artisan storage:link
php artisan migrate
This is the contents of the published config file:
<?php
return [
/**
* Supported content editors: richtext & markdown:
* \Filament\Forms\Components\RichEditor::class
* \Filament\Forms\Components\MarkdownEditor::class
*/
'editor' => \Filament\Forms\Components\RichEditor::class,
/**
* Buttons for text editor toolbar.
*/
'toolbar_buttons' => [
'attachFiles',
'blockquote',
'bold',
'bulletList',
'codeBlock',
'h2',
'h3',
'italic',
'link',
'orderedList',
'redo',
'strike',
'undo',
],
];
Filment lab builder is faceless, it doesn't have any opinions on how you display your content in your frontend. You can use the lab models in your controllers to display the different resources:
thianpri\FilamentLab\Models\Post
thianpri\FilamentLab\Models\Author
thianpri\FilamentLab\Models\Category
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.