aimeos/pagible-jsonapi
最新稳定版本:0.10.2
Composer 安装命令:
composer require aimeos/pagible-jsonapi
包简介
Pagible CMS - JSON:API server
README 文档
README
Read-only JSON:API server for Pagible CMS built on Laravel JSON:API.
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/jsonapi.php:
| Option | Env Variable | Default | Description |
|---|---|---|---|
maxdepth |
CMS_JSONAPI_MAXDEPTH |
1 |
Maximum depth of included relationships (e.g., 1 = include=children, 2 = include=children,children.children) |
Commands
cms:install:jsonapi
Installs the Pagible JSON:API package.
php artisan cms:install:jsonapi
Publishes the Laravel JSON:API config, registers the CMS server, and adds the JSON:API exception handler to bootstrap/app.php.
cms:benchmark:jsonapi
Runs read-only JSON:API benchmarks.
php artisan cms:benchmark:jsonapi [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
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-only
- 更新时间: 2026-03-28