r/cms • • 11d ago

Introducing Basehim — An Open-Source PHP CMS Built for the AI Era

Post image

We're building Basehim, an open-source, API-first PHP CMS designed for modern website development, extensibility, and AI agent integration.

Basehim combines a traditional CMS experience with a developer-focused architecture, a comprehensive REST API, and a built-in Model Context Protocol (MCP) server.

Key Features

AI & Agent Integration

  • Built-in MCP server for connecting AI assistants and agents.
  • OAuth 2.1 authentication with dynamic client registration.
  • Permission-scoped access to CMS resources.
  • Extensible MCP capabilities through installed Apps.

Content Management

  • Manage posts, pages, media, categories, tags, comments, and menus.
  • Built-in content editor and media library.
  • Customizable themes and frontend widget areas.
  • User management and granular role-based permissions.

Developer Platform

  • Full REST API for content and site management.
  • Modular Apps and Themes architecture.
  • PSR-4 autoloading and extensible hooks and events.
  • Application-specific settings, routes, and permissions.
  • Built-in application and theme marketplace.

System Requirements

Basehim is designed to run on conventional PHP hosting environments.

  • PHP 8.1 or newer
  • MySQL 5.7+ or MariaDB 10.3+
  • Required PHP extensions: PDO MySQL, mbstring, OpenSSL, Fileinfo, GD, and ZIP.
  • Apache or LiteSpeed with mod_rewrite, or nginx with equivalent rewrite rules.
  • Approximately 30 MB of disk space, excluding uploads.

It works with common hosting environments, including cPanel and Plesk.

Installation

Getting started is straightforward:

  1. Download the latest Basehim release.
  2. Upload the files to your web hosting document root.
  3. Create a MySQL or MariaDB database.
  4. Open your website and follow the installation wizard.

For local development, you can also run Basehim using PHP's built-in development server.

Why Basehim?

We believe a CMS should be more than a content management dashboard.

It should provide a foundation that developers can extend, applications can integrate with, and AI agents can interact with through controlled permissions.

That's what we're working towards with Basehim.

Explore the Project

Website: https://basehim.com

GitHub: https://github.com/basehim/basehim

Documentation: https://basehim.com/docs

We're actively developing the project and welcome developers, contributors, and open-source enthusiasts.

What do you think a modern PHP CMS should offer, especially as AI agents become part of everyday development workflows?

2 Upvotes

3 comments sorted by

2

u/fklavyenet 7d ago

I like that the MCP connection uses the account’s existing permissions. I’m curious what review looks like for a page that’s already live. If an assistant rewrites its meta description, can an editor compare the old and new text before the change goes live?

1

u/basehim 4d ago

Thanks, and good question. Short answer: not yet.

Today there's no review step between an assistant's edit and the live page. Basehim doesn't have revisions or "pending changes" for published content, so a change saved through MCP goes live straight away. Moving a published page back to draft or pending would take it offline, so that isn't a review step either.

For meta descriptions specifically, the built-in MCP tools can't set them at all. SEO fields are only edited in the post editor in the dashboard, so an assistant can't change a page's meta description over standard MCP.

What works now if you want a human in the loop:

  • Give the assistant a read-only key (posts:read). It can read the page and propose new text in the chat, where you compare old and new. An editor then pastes the version they approve into the editor.
  • Because MCP uses the account's own role and the scopes you grant, the assistant can't write anything you haven't allowed.

A proper side-by-side diff with approve/reject for edits to live pages is a fair gap, and your comment is a good nudge. If you open an issue on GitHub describing the workflow you'd want, that helps us shape it.

1

u/basehim 4d ago

Thanks, and good question. Short answer: not yet.

Today there's no review step between an assistant's edit and the live page. Basehim doesn't have revisions or "pending changes" for published content, so a change saved through MCP goes live straight away. Moving a published page back to draft or pending would take it offline, so that isn't a review step either.

For meta descriptions specifically, the built-in MCP tools can't set them at all. SEO fields are only edited in the post editor in the dashboard, so an assistant can't change a page's meta description over standard MCP.

What works now if you want a human in the loop:

  • Give the assistant a read-only key (posts:read). It can read the page and propose new text in the chat, where you compare old and new. An editor then pastes the version they approve into the editor.
  • Because MCP uses the account's own role and the scopes you grant, the assistant can't write anything you haven't allowed.

A proper side-by-side diff with approve/reject for edits to live pages is a fair gap, and your comment is a good nudge. If you open an issue on GitHub describing the workflow you'd want, that helps us shape it.