PHPackages                             cubex-hro/contao-openai-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cubex-hro/contao-openai-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

cubex-hro/contao-openai-bundle
==============================

enables the generation of meta-title and meta-descriptions in the backend of Contao using ChatGPT from OpenAi

v1.1.1(2y ago)32003[2 issues](https://github.com/cubex-hro/contao-openai-bundle/issues)MITPHPPHP ^8.0

Since Feb 13Pushed 2y ago2 watchersCompare

[ Source](https://github.com/cubex-hro/contao-openai-bundle)[ Packagist](https://packagist.org/packages/cubex-hro/contao-openai-bundle)[ RSS](/packages/cubex-hro-contao-openai-bundle/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (8)Dependencies (2)Versions (11)Used By (0)

Contao OpenAI Bundle
====================

[](#contao-openai-bundle)

The purpose of this extension is to quickly and easily generate meta descriptions and titles from page content using ChatGPT (OpenAI).

Below we have summarized a few best practices to achieve relatively good results. Additional features are planned in the future that will make the expansion even better.

Getting started
---------------

[](#getting-started)

```
composer require cubex-hro/contao-openai-bundle

```

Compability
-----------

[](#compability)

Contao VersionPHP Version&gt;= 4.9^7.0 ǀǀ ^8.0Important note
--------------

[](#important-note)

- An OpenAI developer account is required. Sign up [here](https://platform.openai.com/signup).
- The required token is also created [there](https://platform.openai.com/account/api-keys).
- There is a fee to use the OpenAI API. An overview of OpenAI pricing can be found here:
- We tested a lot and so far we haven't gotten more than $5 a month

TinyMCE Plugin notes
--------------------

[](#tinymce-plugin-notes)

[![](docs/tinymce.png)](docs/tinymce.png)

Please make sure you don't have a custom be\_tinyMCE.html5 template. If so, take a look at src/Resources/contao/templates/be\_tinyMCE.html5 and adjust the relevant places manually.

Screenshots
-----------

[](#screenshots)

[![](docs/preview.png)](docs/preview.png)

Best practise
-------------

[](#best-practise)

[![](docs/settings.png)](docs/settings.png)

- define usage limit in OpenAPI API Backend to have control over costs

How to use
----------

[](#how-to-use)

- Insert token
- Choose GPT model
- Insert preferred Meta-title prompt (e.g. Schreibe für folgenden Text einen prägnanten Seitentitel bestehend aus 5 bis 6 Wörtern:)
- Insert preferred Meta-description prompt (e.g. Schreibe für folgenden Text eine informative/emphatische/ansprechende Seitenbeschreibung, die weniger als 160 Zeichen inklusive Leerzeichen enthält:)
- Set temperature (recommended: 0.5)
- Set max\_tokens (recommended: 300)
- Set optional settings like hidden elements and custom fields
- Go to page settings and use the buttons below SERP preview
- Enjoy the magic :)

To-Do
-----

[](#to-do)

- Integrate token calculator (e.g. [GPT-3-Encoder-PHP](https://github.com/CodeRevolutionPlugins/GPT-3-Encoder-PHP))
- Content weighting through ChatGPT as pre-fetch event
- Define personality profile (role) for Chat completions API model
- Considerations and testing for the actual maximum character length for the request
- Considerations on how serialized content will be handled in the future
- Make costs per Request more transparent (show used tokens and calculate with OpenAI pricing)
- do
- some
- [magic🪄](https://media.tenor.com/IOEsG9ldvhAAAAAd/mr-bean.gif)

new Features
------------

[](#new-features)

- v0.2.0 -&gt; TinyMCE AI-Text generation Dialog
- v1.0.0 -&gt; add Contao 5 compatibility
- v1.1.0 -&gt; Contao Backend Help Bot powered by CustomGPT

Support
-------

[](#support)

Contao Gpt Bundle is a project for the community. If you have suggestions for improvements or comments, use the issues or, best of all, make a pull request.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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 ~12 days

Recently: every ~4 days

Total

9

Last Release

774d ago

Major Versions

v0.2.1 → v1.0.02024-05-07

PHP version history (2 changes)v0.1.0PHP ^7.2 || ^8.0

v1.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46573494?v=4)[Christopher G.](/maintainers/cubex-hro)[@cubex-hro](https://github.com/cubex-hro)

---

Top Contributors

[![cubex-hro](https://avatars.githubusercontent.com/u/46573494?v=4)](https://github.com/cubex-hro "cubex-hro (4 commits)")

---

Tags

aicontaoseogptKI

### Embed Badge

![Health badge](/badges/cubex-hro-contao-openai-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/cubex-hro-contao-openai-bundle/health.svg)](https://phpackages.com/packages/cubex-hro-contao-openai-bundle)
```

###  Alternatives

[metamodels/core

MetaModels core

10156.4k68](/packages/metamodels-core)[codefog/contao-haste

haste extension for Contao Open Source CMS

46676.5k171](/packages/codefog-contao-haste)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3189.0k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18156.0k10](/packages/terminal42-contao-folderpage)[contao-bootstrap/core

Core of Contao Bootstrap extension

1791.6k24](/packages/contao-bootstrap-core)

PHPackages © 2026

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