The easy, flexible and scalable API-first PagibleAI CMS package for Laravel.
- About
- Features
- Tech Stack
- Architecture
- Installation
- Configuration
- Packages
- Themes
- MCP API
- Agent Skills
- Security
- Contributing
- License
PagibleAI CMS is an API-first content management system you can install into any Laravel application. It combines the ease of use of WordPress with the structured content of Contentful, and uses AI to write, translate and publish content and to create and edit images.
From a simple blog on SQLite to multi-tenant, multi-domain sites with millions of pages, PagibleAI scales with your needs.
- Structured Content - Manage structured content like in Contentful
- AI-Powered - AI generates and enhances drafts and images
- AI Chat - Let the AI create, refine, translate and publish pages for you
- Hierarchical Pages - Page tree with drag & drop
- Shared Content - Reuse content elements on multiple pages
- Versioning - Save, publish, schedule and revert drafts with a full history
- Extensible Elements - Define new content elements in seconds
- APIs - Fast JSON:API for the frontend, GraphQL for the admin and 40+ MCP tools for AI agents
- Multi-language - Translations with language fallbacks (see languages)
- Multi-domain & Multi-tenancy - Several sites and customers in one application
- Frontend Access - Restrict pages and files to logged-in users or roles
- Paid Page Access - Sell subscriptions and one-time access via Stripe, Paddle or Mollie
- Page Metrics - Views, visits, conversions, search queries and keyword research
- Full-text Search - On SQLite, MySQL/MariaDB, PostgreSQL and SQL Server
- Webhooks & CDN - Signed webhooks and CDN purging when content changes
- Importers - Import from WordPress, TYPO3, Statamic, Drupal and Joomla
- Themes - Ready-to-use themes for many industries
- Open Source - MIT licensed
| Technology | Purpose |
|---|---|
| PHP 8.2+ | Backend language |
| Laravel 11.x / 12.x / 13.x | Web framework |
| Vue.js 3 | Admin panel frontend |
| Vuetify | Admin UI component library |
| Lighthouse | GraphQL API |
| PHP Prisma | Provider-neutral AI/LLM integration |
| Laravel Scout | Full-text search |
| Laravel MCP | MCP server |
| Vite | Frontend build tool |
PagibleAI CMS is a modular monorepo split into focused sub-packages. aimeos/pagible installs
the core, admin, AI, GraphQL, search, JSON:API, MCP, metrics and theme packages, all others are
optional:
- Core provides the data models (Page, Element, File, Version), multi-tenancy, permissions, and migrations. Its README describes the configuration, permissions and access, multi-tenancy, PHP API, events, commands and testing
- Admin delivers the Vue.js-based admin panel with drag & drop page management
- GraphQL exposes the admin API via Lighthouse for content editing
- JSON:API provides a read-only frontend API for content delivery
- AI integrates LLM providers through PHP Prisma for chat, content generation, image manipulation, transcription and translation
- Search implements a Laravel Scout engine using the full-text search of SQLite, MySQL/MariaDB, PostgreSQL and SQL Server
- MCP offers 40+ tools for LLM-driven content management
- Metrics adds page metrics and keyword research to the admin panel, GraphQL and MCP
- Backup provides per-tenant backup and restore with media files, integrity verification, and cross-tenant support
- Import provides importers from external CMS platforms (WordPress, TYPO3, Statamic, Drupal, Joomla)
- Cashier sells frontend page access through subscriptions or one-time payments using Stripe, Paddle, or Mollie
- CDN purges changed pages and removed files from Cloudflare, Fastly, Nginx, Varnish and Symfony HttpCache
- Webhooks delivers signed, tenant-scoped notifications for CMS events through the Laravel queue
- Pulse adds CMS metrics to the Laravel Pulse dashboard
- Theme handles frontend rendering, navigation, search, sitemaps and complete-page caching with Blade templates
- Themes contains high-quality frontend themes
Pages are organized in a tree. All content changes are saved as versions, editors see the latest draft while visitors see the published version. Anonymous page responses are cached completely and invalidated automatically when pages are published, deleted or their access rules change.
Requirements:
- PHP 8.2+ with the GD extension, or Imagick if you set
CMS_IMAGE_DRIVER=imagick - Laravel 11, 12 or 13
- SQLite, MySQL/MariaDB, PostgreSQL or SQL Server
- Optional: Laravel Reverb for real-time updates between editors (
CMS_BROADCAST=true)
If you don't have a Laravel application yet, create one first:
composer create-project laravel/laravel pagible
cd pagibleThen install PagibleAI CMS and create an admin user with all permissions (the user is created if it doesn't exist):
composer req aimeos/pagible
php artisan cms:install
php artisan cms:user -e admin@example.comUse php artisan cms:install --seed instead to add example pages too. The command runs the installers of all CMS packages (cms:install:*), and each package README lists its own cms:* commands.
Set APP_URL in your .env file to your domain. For a quick local test, use APP_URL=http://localhost:8000, start the web server with php artisan cms:serve and open http://localhost:8000/cmsadmin. cms:serve works like php artisan serve but allows uploads up to 100MB and serves the uploaded files from the public storage. On your own domain, the admin panel is available at https://mydomain.tld/cmsadmin.
Roles and permissions are described in the core README and on the authorization and permissions page.
Make sure the Laravel scheduler and a queue worker run, so scheduled pages get published, queued jobs like search index updates are executed and deleted items are removed after 30 days, see queue and scheduler.
After updating the packages, run the new migrations and publish the admin assets and the GraphQL schema again. The admin panel serves a published copy of its assets, so without --force the old version stays active:
composer update
php artisan migrate
php artisan vendor:publish --tag=cms-admin --force
php artisan vendor:publish --tag=cms-graphql --forceSee the upgrading notes of the core package for changed settings.
The sections below list the most important settings. All options of the core package are described in the core README.
Add the languages of your content to the .env file, e.g. CMS_LOCALES="en,de,fr", see languages.
Each AI feature needs its own API key and there's no shared fallback, so features without a key don't work. By default, PagibleAI uses Google Gemini, OpenAI, DeepL and Clipdrop. Add the keys of the features you want to use:
CMS_AI_WRITE_API_KEY="..." # Gemini: content generation and AI chat
CMS_AI_DESCRIBE_API_KEY="..." # Gemini: file descriptions
CMS_AI_IMAGINE_API_KEY="..." # Gemini: image generation
CMS_AI_INPAINT_API_KEY="..." # Gemini: image inpainting
CMS_AI_REPAINT_API_KEY="..." # Gemini: image repainting
CMS_AI_REFINE_API_KEY="..." # OpenAI: content refinement
CMS_AI_TRANSCRIBE_API_KEY="..." # OpenAI: audio transcription
CMS_AI_TRANSLATE_API_KEY="..." # DeepL: translation
CMS_AI_ERASE_API_KEY="..." # Clipdrop: object removal
CMS_AI_ISOLATE_API_KEY="..." # Clipdrop: background removal
CMS_AI_UNCROP_API_KEY="..." # Clipdrop: image extension
CMS_AI_UPSCALE_API_KEY="..." # Clipdrop: image upscaling
Each AI feature can use any provider and model supported by
PHP Prisma, e.g. CMS_AI_WRITE=anthropic. All
features and settings are listed in the AI package.
Uploads are stored on the Laravel disk set by CMS_DISK, protected files on CMS_PRIVATE_DISK, see files.
Add CMS_MULTIDOMAIN=true to your .env file to use separate page trees per domain. For
multi-tenancy, PagibleAI works with packages like Tenancy for Laravel,
see the multi-tenancy SaaS setup.
Protect the contact form with hCaptcha.
Add these optional packages to aimeos/pagible if you need them:
| Package | Purpose |
|---|---|
| aimeos/pagible-backup | Backup and restore including media files |
| aimeos/pagible-import | Import content from WordPress, TYPO3, Statamic, Drupal and Joomla |
| aimeos/pagible-cashier-stripe | Sell page access via Stripe (also -paddle and -mollie) |
| aimeos/pagible-cdn | Purge changed pages from CDNs and caching proxies |
| aimeos/pagible-webhooks | Signed webhooks for CMS events |
| aimeos/pagible-pulse | CMS cards for the Laravel Pulse dashboard |
php artisan cms:install also runs the cms:install:* commands of the installed optional packages.
Choose from ready-made themes for portfolios, blogs, news sites, restaurants, real estate, fashion, medical practices, craftsmen and more:
composer require aimeos/pagible-themes-aura
php artisan vendor:publish --tag=cms-themeEach theme's README (e.g. themes/aura) describes its design and settings.
AI agents like Claude, ChatGPT or Cursor can search, create, edit, translate and publish pages, elements and files using 40+ MCP tools. See the MCP documentation for the setup.
The pagible-themes skill teaches coding agents like Claude Code, Codex or Cursor to build content elements and themes:
npx skills add aimeos/pagible --skill pagible-themesPlease report security issues to security at aimeos.org.
Contributions are welcome! Fork the repository, create a feature branch and open a pull request.
Please make sure vendor/bin/phpunit passes and vendor/bin/phpstan analyze reports no new errors.
PagibleAI CMS is licensed under the MIT license.
Special thanks to Lwin Min Oo.
- Website: pagible.com
- GitHub: github.com/aimeos/pagible