定制 rectitude-open/filament-people 二次开发

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

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

rectitude-open/filament-people

最新稳定版本:v1.10.2

Composer 安装命令:

composer require rectitude-open/filament-people

包简介

A Filament plugin for managing member profiles.

README 文档

README

Filament People Banner

Filament People

Do not use Tests PHPStan Latest Version on Packagist Total Downloads PRs Welcome

Filament People is a Filament plugin that adds a member management section to your Filament admin panel. It allows you to easily manage and display information about people, such as their name, title, biography, and avatar. This package is ideal for organizations, companies, or teams that need to manage member information in the admin panel.

Note: This plugin relies on several excellent Laravel/Filament plugins. Before installing Filament People, you must ensure that all the following dependencies are installed and properly configured in your project. Filament Tree, Filament Select Tree, Eloquent Sluggable, Filament Versionable, Filament SEO, Filament Curator

This package is also a standalone part of a CMS project: FilaPress.

Resource Page Cluster Migration Model Config View Localization

Installation

You can install the package via composer:

composer require rectitude-open/filament-people

You can publish and run the migrations with:

php artisan vendor:publish --tag="filament-people-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="filament-people-config"

Optionally, you can publish the translations using

php artisan vendor:publish --tag="filament-people-translations"

This is the contents of the published config file:

return [
    'cluster' => [
        'navigation_sort' => 0,
        'navigation_icon' => 'heroicon-o-identification',
    ],
    'person' => [
        'navigation_sort' => 0,
        'navigation_icon' => 'heroicon-o-identification',
        'datetime_format' => 'Y-m-d H:i:s',
        'navigation_badge' => false,
        'model' => \RectitudeOpen\FilamentPeople\Models\Person::class,
        'filament_resource' => \RectitudeOpen\FilamentPeople\Filament\Resources\PersonResource::class,
    ],
    'person_category' => [
        'model' => \RectitudeOpen\FilamentPeople\Models\PersonCategory::class,
        'page' => \RectitudeOpen\FilamentPeople\Filament\Pages\PersonCategory::class,
        'navigation_sort' => 2,
        'navigation_icon' => 'heroicon-o-rectangle-stack',
    ],

    'editor_component_class' => \Filament\Forms\Components\RichEditor::class,
];

Usage

The package provides a resource page that allows you to manage People in your Filament admin panel.

To use the resource page provided by this package, you need to register it in your Panel Provider first.

namespace App\Providers\Filament;

use RectitudeOpen\FilamentPeople\FilamentPeoplePlugin;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->plugins([
                FilamentPeoplePlugin::make()
            ]);
    }
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-27