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
composer require lyre/contentphp artisan vendor:publish --provider="Lyre\Content\Providers\LyreContentServiceProvider"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 --panelsTo create an admin user:
php artisan make:filament-userTo 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([
LyreContentFilamentPlugin::make(),
]);php artisan db:seed --class="Lyre\\Content\\Database\\Seeders\\InteractionTypeSeeder"