aimeos / pagible
Easy, flexible and powerful cloud-native Laravel CMS package powered by AI with JSON:API, GraphQL API, templates, and themes
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing aimeos/pagible in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewPagibleAI CMS - Simple as Wordpress, the power of Contentful! The easy, flexible and scalable API-first PagibleAI CMS package: • AI generates/enhances drafts and images for you • Manage structured content like in Contentful • Define new content elements in seconds • Assign shared content to multiple pages • Save, publish and revert drafts • Extremly fast JSON frontend API • Versatile GraphQL admin API • Multi-language support • Multi-domain routing • Multi-tenancy capable • Supports soft-deletes • Fully Open Source • Scales from single page with SQLite to millions of pages with DB clusters It can be installed into any existing Laravel application. Table of contents • Installation • Authorization • Configuration • Clean up • Multi-domain • Multi-tenancy • MCP API • Security Installation You need a working Laravel installation. If you don't have one, you can create it using: The application will be available in the sub-directory. Then, run this command within your Laravel application directory: Now, adapt the file of your application and change the setting to your domain. If you are using for testing, add the port of the internal web server ( ). Otherwise, the uploading files will fail because they wouldn't be loaded! Add a line in the "post-update-cmd" section of your file to update the admin backend files after each update: Authorization Using artisan command To allow existing users to edit CMS content or to create a new users if they don't exist yet, you can use the command (replace the e-mail address by the users one): To remove user permissions for editing CMS content completely, use: List the current permissions of an user: To add specific permissions: To remove specific permissions: The CMS admin backend is available at (replace "mydomain.tld" with your own one): Use custom authorisation To use your own authorization, e.g. from an external service, add this code to the method of your in the file: Configuration Captcha protection To protect forms like the contact form against misuse and spam, you can add the HCaptcha service. Sign up at their web site and create an account. In the HCaptcha dashboard, go to the Sites page and add an entry for your web site. When you click on the newly generated entry, the **sitekey** is shown on top. Add this to your file as: In the account settings, you will find the **secret** that is required too in your file as: AI support To generate texts/images from prompts, analyze image/video/audio content, or execute actions based on your prompts, you have to configure one or more of the AI service providers supported by the Prism and Prisma packages. **Note:** You only need to configure API keys for the AI service providers you are using, not for all! All service providers require to sign-up and create an account first. They will provide an API key which you need to add to your file or as environment variable, e.g.: For best results and all features, you need Google, OpenAI, Clipdrop, and DeepL at the moment and they are also configured by default. If you want to use a different provider or model, you can to configure them in your file too. Please have a look into the ./config/cms.php for the used environment variables. **Note:** You can also configure the base URLs for each provider using the key in each provider configuration, e.g.: Publishing For scheduled publishing, you need to add this line to the class: Clean up To clean up soft-deleted pages, elements and files regularly, add these lines to the class: You can configure the timeframe after soft-deleted items will be removed permantently by setting the CMS_PURGE option in your file. It's value must be the number of days after the items will be removed permanently or FALSE if the soft-deleted items shouldn't be removed at all. Multi-domain Using multiple page trees with different domains is possible by adding to your file. Multi-tenancy PagibleAI CMS supports single database multi-tenancy using existing Laravel tenancy packages or code implemented by your own. The Tenancy for Laravel package is most often used. How to set up the package is described in the tenancy quickstart and take a look into the single database tenancy article too. Afterwards, tell PagibleAI CMS how the ID of the current tenant can be retrieved. Add this code to the method of your in the file: MCP API PagibleAI CMS offers tools within the Laravel MCP API that LLMs can use to interact with the CMS. To make them available, you have to add this line to your route file: **Note:** You need to set up Laravel Passport for MCP OAuth authentication too! Security If you find a security related issue, please contact . Special thanks to: • Lwin Min Oo