waaseyaa/groups 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

waaseyaa/groups

最新稳定版本:v0.1.0-alpha.179

Composer 安装命令:

composer require waaseyaa/groups

包简介

Multi-bundle Group content entity type for Waaseyaa (group + group_type; app-defined bundles)

README 文档

README

Layer 2 — Content Types

Multi-bundle group content entity type for Waaseyaa applications. This package is framework-agnostic: consuming apps register bundles and fields; it does not target any single product domain.

History: Originally extracted from an early Waaseyaa product codebase; extraction context belongs in this repository’s changelog, not in runtime docs.

Defines two entity types:

  • group — the content entity. Bundle-aware (bundleEntityType: 'group_type'), keyed by gid/uuid, labeled by name.
  • group_type — the config entity that declares bundle identities.

The package ships with zero pre-registered bundles and zero bundle-scoped fields. Consuming applications create GroupType config entities and register bundle-scoped fields via EntityTypeManager::addBundleFields($entityTypeId, $bundle, $fields). Bundle-scoped columns land in per-bundle subtables named group__{bundle} as described in docs/specs/bundle-scoped-storage.md.

Key classes: Group, GroupType, GroupsServiceProvider.

Adding a bundle

$entityTypeManager->addBundleFields('group', 'business', [
    new FieldDefinition(
        name: 'email',
        type: 'string',
        targetEntityTypeId: 'group',
        targetBundle: 'business',
    ),
]);

The framework materializes group__business on the next install / schema pass. Missing subtables for registered-but-unmaterialized bundles are reported by waaseyaa health:check as MISSING_BUNDLE_SUBTABLE.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-04-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固