aimeos / pagible-graphql
Pagible CMS - GraphQL API
0.10.4
2026-05-25 09:26 UTC
Requires
- php: ^8.2
- aimeos/laravel-analytics-bridge: ~1.0
- aimeos/pagible-core: 0.10.*
- mll-lab/graphql-php-scalars: ^6.4
- nuwave/lighthouse: ^6.54
Requires (Dev)
- orchestra/testbench: ^9.0||^10.0||^11.0
README
GraphQL API for Pagible CMS built on Lighthouse. Provides full CRUD for pages, elements, files, and metrics.
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/graphql.php:
| Option | Env Variable | Default | Description |
|---|---|---|---|
filesize |
CMS_GRAPHQL_FILESIZE |
50 |
Maximum file upload size in MB |
mimetypes |
CMS_GRAPHQL_MIMETYPES |
See below | Allowed MIME types for uploads (comma-separated in env) |
Default allowed MIME types: application/gzip, application/pdf, application/vnd.*, application/zip, audio/*, image/*, text/*, video/*
Commands
cms:install:graphql
Installs the Pagible GraphQL package.
php artisan cms:install:graphql
Publishes the Lighthouse schema and configuration, registers CMS models/mutations/queries in the Lighthouse config, and adds the CMS schema import to graphql/schema.graphql.
cms:benchmark:graphql
Runs GraphQL mutation and query benchmarks.
php artisan cms:benchmark:graphql [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