lyre / content
Pages and sections copy manager
2.2.0
2025-05-06 13:37 UTC
Requires
- php: ^8.2
- awcodes/filament-tiptap-editor: ^3.5
- bezhansalleh/filament-shield: 202505041448.x-dev
- codeat3/blade-google-material-design-icons: ^1.20
- filament/filament: ^3.3
- intervention/image-laravel: ^1.5
- lyre/facet: ^1.0
- lyre/file: ^1.0
- lyre/lyre: ^1.1
- valentin-morice/filament-json-column: ^2.0
README
Lyre Content is a Lyre addon for simple Content Management. It comes with the following predefined models to help you easily manage your website content:
- Page - This defines the basic Page SEO content, including title and description
- Section - This is a direct link to your frontend's sections, it contains a one to many relationship with itself and the rest of the models in this section
- Button - Basic button with title and link
- Icon - An svg icon to go with your buttons, your texts, and your sections
- Text - For managing all text within your sections
- Data - Some sections require data from your application, data is defined here in a json, see the example below
- File - Lyre content comes with a whole file management system out of the box
Installation
composer require lyre/content
Publish Assets
php artisan vendor:publish --provider="Lyre\Content\Providers\LyreContentServiceProvider"
Dependencies
Lyre Content depends on Lyre and Laravel Filament. To complete installation, especially if your require the functionalities from Laravel Filament, follow these additional commands:
php artisan filament:install --panels
To create an admin user:
php artisan make:filament-user
Discover Content Filament Resources
To Discover Lyre Content Filament Resources on your Filament dashboard, add the LyreContentFilamentPlugin to your Filament panel like so:
use Lyre\Content\Filament\Plugins\LyreContentFilamentPlugin; $panel->plugins([ new LyreContentFilamentPlugin(), ]);
ISSUES
You need to change your minimum-stability level to dev
on your composer.json like:
"minimum-stability": "dev",
This is because Lyre Content depends on a fork of FilamentShield that has not yet been merged to main.