lyre / content
Pages and sections copy manager
Installs: 207
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/lyre/content
Requires
- php: ^8.2
- intervention/image-laravel: ^1.5
- lyre/facet: ^1.0
- lyre/file: ^1.0
- lyre/lyre: ^1.1
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.
php artisan db:seed --class="Lyre\\Content\\Database\\Seeders\\InteractionTypeSeeder"