aimeos/pagible-core 问题修复 & 功能扩展

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

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

aimeos/pagible-core

最新稳定版本:0.10.2

Composer 安装命令:

composer require aimeos/pagible-core

包简介

Pagible CMS - Core package

README 文档

README

Core package for Pagible CMS providing models, permissions, tenancy, utilities, and migrations.

This package is part of the Pagible CMS monorepo. For full installation, use:

composer require aimeos/pagible

Configuration

After installation, the configuration is available in config/cms.php:

Option Default Description
roles ['admin' => ['*'], ...] Named role definitions mapping to permission sets. Supports wildcards (page:*, *:view, *) and denials (!page:purge)
broadcast false Enable real-time broadcasting via Laravel Reverb so other editors see changes immediately
db sqlite Database connection name (references config/database.php)
disk public Filesystem disk for uploaded files
image.preview-sizes [480, 960, 1920] Preview image widths in pixels for uploaded images
locales en,ar,zh,fr,de,es,pt,pt-BR,ru Comma-separated ISO language codes. First locale is the default for new content
multidomain false Enable domain-based page routing
navdepth 2 Maximum depth of the navigation tree menu
prune 30 Days before soft-deleted items are permanently removed. Set to false to disable
versions 10 Maximum number of versions to retain per page, element, or file

Default Roles

Role Permissions
admin All permissions (*)
viewer View-only access
publisher All except publish and purge
editor All except publish and purge

Commands

cms:install:core

Installs the Pagible CMS core package.

php artisan cms:install:core [--seed]
Option Description
--seed Add example pages to the database

Publishes config, creates the SQLite database if needed, runs migrations, and optionally seeds example content.

cms:user

Manages CMS user authorization.

php artisan cms:user [email] [options]
Option Description
email Email address of the user (creates if new)
-a, --add=PERM Add permissions (repeatable, supports wildcards)
-d, --disable Disable all permissions
-e, --enable Enable all permissions (*)
-l, --list List all permissions of the user
-p, --password=PWD Set password (prompts if omitted during creation)
-r, --remove=PERM Remove permissions (repeatable, supports wildcards)
--role=ROLE Add a named role (e.g., editor, publisher, admin)
--roles List all available roles and their permissions

cms:publish

Publishes scheduled versions where publish_at has passed. Registered to run automatically every 30 minutes.

php artisan cms:publish

cms:benchmark:core

Runs core model performance benchmarks.

php artisan cms:benchmark:core [options]
Option Default Description
--tenant benchmark Tenant ID
--domain Domain name
--seed Seed benchmark data first
--pages 10000 Number of pages to generate
--tries 100 Iterations per benchmark
--chunk 50 Rows per bulk insert batch
--unseed Remove benchmark data and exit
--force Run in production

License

LGPL-3.0-only

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-only
  • 更新时间: 2026-03-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固