schwehm/filament-content-blocks (1.0.0)
Published 2026-11-04 22:22:55 +01:00 by niklasschwehm
Installation
{
"repositories": [{
"type": "composer",
"url": " "
}
]
}composer require schwehm/filament-content-blocks:1.0.0About this package
Inline-Bearbeitung von Texten und Bildern im Frontend mit Filament-Actions
Frontend Content Block Editing with Filament Actions
add to composer.json
"repositories": [
{
"type": "path",
"url": "../filament-content-blocks",
"options": {
"symlink": true
}
}
]
add to layout.blade.php
<head>
...
<x-content-editor-styles />
</head>
<body>
...
<x-content-editor-scripts />
</body>
add to User Model
public function canAccessPanel(Panel $panel): bool
{
return true;
}
composer require schwehm/filament-content-blocks:@dev
composer install
composer update
php artisan migrate
php artisan filament:assets
Build new CSS
This Project
npm run build
Foreign Project
php artisan filament:assets
Example
<x-content key="home.subTitle" type="richtext">Untertitel</x-content>
Dependencies
Dependencies
| ID | Version |
|---|---|
| filament/actions | ^5.0 |
| filament/forms | ^5.0 |
| filament/notifications | ^5.0 |
| filament/schemas | ^5.0 |
| illuminate/support | ^12.0|^13.0 |
| livewire/livewire | ^4.0 |
| mews/purifier | ^3.4 |
| php | ^8.3 |