PHPackages                             webwerkwien/contao-ai-core-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. webwerkwien/contao-ai-core-bundle

ActiveContao-bundle[CLI &amp; Console](/categories/cli)

webwerkwien/contao-ai-core-bundle
=================================

Contao 5 console commands for agent-driven CRUD operations

v0.2.0(1mo ago)0111MITPHPPHP ^8.2

Since Apr 24Pushed 1mo agoCompare

[ Source](https://github.com/webwerkwien/contao-ai-core-bundle)[ Packagist](https://packagist.org/packages/webwerkwien/contao-ai-core-bundle)[ Docs](https://github.com/webwerkwien/contao-ai-core-bundle)[ RSS](/packages/webwerkwien-contao-ai-core-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (7)Used By (1)

contao-ai-core-bundle
=====================

[](#contao-ai-core-bundle)

Contao 5 bundle that exposes CMS operations as Symfony console commands. The agnostic operator layer for the **contao-ai** family — programmatic read and write access to pages, articles, news, files, members, and more, without any LLM dependency.

> **Beta software.** Bundle interfaces (command names/options, JSON output schema) may change between minor versions. Use at your own risk in production.

The contao-ai ecosystem
-----------------------

[](#the-contao-ai-ecosystem)

PackageWhat it isWhen to use**contao-ai-core-bundle** *(this package)*Contao bundle exposing CMS operations as Symfony console commands.Required as the foundation layer. Install on any Contao site you want to manage via AI.[contao-ai-cli](https://github.com/webwerkwien/contao-ai-cli)Python CLI — connects to Contao via SSH and runs commands.For developers and agencies: manage Contao from the terminal or hand control to an AI agent.[contao-ai-backend-bundle](https://github.com/webwerkwien/contao-ai-backend-bundle)Contao backend module — browser-based AI chat interface (Anthropic Claude, OpenAI).For editors and admins: AI directly inside the Contao backend, no SSH or terminal needed.What it does
------------

[](#what-it-does)

contao-ai-core-bundle exposes Contao 5 CMS operations as Symfony console commands. It is the bridge layer between AI agents and the Contao CMS — used via SSH by [contao-ai-cli](https://github.com/webwerkwien/contao-ai-cli), or called in-process by [contao-ai-backend-bundle](https://github.com/webwerkwien/contao-ai-backend-bundle).

Requirements
------------

[](#requirements)

- PHP ^8.2
- Contao ^5.3

Installation
------------

[](#installation)

```
composer require webwerkwien/contao-ai-core-bundle
```

Available Commands
------------------

[](#available-commands)

All commands output JSON and follow a consistent `{"status":"ok", ...}` / `{"status":"error", ...}` format.

AreaCommandsPages`contao:page:read` `contao:page:create` `contao:page:update` `contao:page:delete` `contao:page:publish`Articles`contao:article:read` `contao:article:create` `contao:article:update` `contao:article:delete`Content elements`contao:content:read` `contao:content:create` `contao:content:update` `contao:content:delete`News`contao:news:read` `contao:news:create` `contao:news:update` `contao:news:delete`Events`contao:event:read` `contao:event:create` `contao:event:update` `contao:event:delete`FAQ`contao:faq:read` `contao:faq:create` `contao:faq:update` `contao:faq:delete`Members`contao:member:update` `contao:member:delete`Users`contao:user:update` `contao:user:delete`Files`contao:file:read` `contao:file:write` `contao:file:meta` `contao:file:process` `contao:folder:create`Templates`contao:template:list` `contao:template:read` `contao:template:write`Comments`contao:comment:delete` `contao:comment:publish`Layout`contao:layout:read`Versions`contao:version:list` `contao:version:read` `contao:version:create` `contao:version:restore`Search`contao:search:query`Schema / Config`contao:dca:schema` `contao:listing:config`Macros (since v0.2.0)`contao:record:list` `contao:record:clone`### Macro commands

[](#macro-commands)

- `contao:record:list ` — table-agnostic listing with Doctrine-parameterised filters, DCA-validated ORDER BY, pagination, curated default columns per table.
- `contao:record:clone   [--recursive]` — clone a container record (news archive, calendar, FAQ category, page) including all cascading children in one DB transaction. With `--recursive` PageCloner walks subpage trees (depth-cap 10, total-cap 50). Tagged-iterator EntityCloner registry — only registers cloners for plugins actually installed on the target site.

> **`record_rewrite` lives in [contao-ai-backend-bundle](https://github.com/webwerkwien/contao-ai-backend-bundle), not here.** That command needs an LLM API key per call. Keeping core agnostic of LLM dependencies and key handling was a deliberate architecture decision.

License
-------

[](#license)

MIT — see [LICENSE](LICENSE).

This software is provided "as is", without warranty of any kind. The authors accept no liability for any damages arising from its use.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance93

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

6

Last Release

37d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea47f23c19d75ec5cc778cfd24ffb19e20d5beeb675631e167395c47de0a9d1b?d=identicon)[webwerkwien](/maintainers/webwerkwien)

---

Top Contributors

[![webwerkwien](https://avatars.githubusercontent.com/u/56350653?v=4)](https://github.com/webwerkwien "webwerkwien (72 commits)")

---

Tags

cliautomationaiAgentcontaocrud

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webwerkwien-contao-ai-core-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/webwerkwien-contao-ai-core-bundle/health.svg)](https://phpackages.com/packages/webwerkwien-contao-ai-core-bundle)
```

###  Alternatives

[nategood/commando

PHP CLI Commando Style

8033.4M39](/packages/nategood-commando)[jaz303/phake

A wee clone of Ruby's rake for PHP 5.3. Uses closures for ultimate coolness.

361217.2k7](/packages/jaz303-phake)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
