aimeos/pagible-core
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
aimeos/pagible-core 适用场景与选型建议
aimeos/pagible-core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 122 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「package」 「cms」 「laravel」 「multi-tenant」 「multi-language」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 aimeos/pagible-core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aimeos/pagible-core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 aimeos/pagible-core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Integrate with Snipcart.
Simple ASCII output of array data
统计信息
- 总下载量: 122
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 22
- 依赖项目数: 11
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-only
- 更新时间: 2026-03-28