schwehm/filament-content-blocks (1.1.0)
Published 2026-11-23 16:48:07 +01:00 by niklasschwehm
Installation
{
"repositories": [{
"type": "composer",
"url": " "
}
]
}composer require schwehm/filament-content-blocks:1.1.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
"require": {
. . .,
"schwehm/filament-content-blocks": "^1.0"
},
"repositories": [
{
"type": "composer",
"url": "https://git.schwehm-webentwicklung.de/api/packages/niklasschwehm/composer"
}
]
add token
composer config --global --auth http-basic.git.schwehm-webentwicklung.de niklasschwehm READ_TOKEN
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 install
composer update
php artisan migrate
php artisan filament:assets
Create new Release
Aufruf:
./release.sh -> Patch-Version (1.2.3 -> 1.2.4)
./release.sh minor -> Minor-Version (1.2.3 -> 1.3.0)
./release.sh major -> Major-Version (1.2.3 -> 2.0.0)
./release.sh 1.5.0 -> exakt diese Version
Build new CSS
This Project
npm run build
Foreign Project (create new Release first)
composer update
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 |