定制 lyre/content 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lyre/content

最新稳定版本:2.4.1

Composer 安装命令:

composer require lyre/content

包简介

Pages and sections copy manager

README 文档

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"

统计信息

  • 总下载量: 210
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-04