PHPackages                             vonheldenundgestalten/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. vonheldenundgestalten/contao-openai-bundle

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

vonheldenundgestalten/contao-openai-bundle
==========================================

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

5.3.13(2mo ago)1342MITPHPPHP ^8.0

Since Dec 13Pushed 2mo agoCompare

[ Source](https://github.com/vonheldenundgestalten/contao-openai-bundle)[ Packagist](https://packagist.org/packages/vonheldenundgestalten/contao-openai-bundle)[ RSS](/packages/vonheldenundgestalten-contao-openai-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (4)Versions (16)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). Page content also includes dynamic pages generated through the Contao News extension.

In the screenshot below you can see some settings to get you started with relatively good results.

```
This extension is also available for Contao 5.3+. See the 5.3 branch.

```

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

[](#getting-started)

Install by hand / command line with

```
composer require vonheldenundgestalten/contao-openai-bundle

```

or through the Contao Manager interface.

Add this to the .htaccess of a project

```
RewriteCond %{REQUEST_URI} !^/_gpt*

```

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

[](#compability)

Contao VersionPHP Version^5.3^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
- english versions of the prompts would be:

For the title:

> Write a concise page title consisting of 5 to 6 words for the following text:

For the description:

> Write an informative/emphatic/appealing page description for the following text that contains less than 160 characters including spaces:

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
- optional: add "tl\_news" to the allowed tables to active the buttons for the News
- 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 OpenAI Bundle is a project for the community. Please consider giving feedback or creating pull requests to support the ongoing development.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance87

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 59.3% 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 ~32 days

Recently: every ~63 days

Total

15

Last Release

64d ago

PHP version history (2 changes)5.3.0PHP ^7.2 || ^8.0

5.3.x-devPHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e2e520d3604cd29970876eb44635609b1342df27178c7de6b126bdaea84c5d2?d=identicon)[markusmilkereit](/maintainers/markusmilkereit)

---

Top Contributors

[![kimleta](https://avatars.githubusercontent.com/u/52826419?v=4)](https://github.com/kimleta "kimleta (32 commits)")[![cubex-hro](https://avatars.githubusercontent.com/u/46573494?v=4)](https://github.com/cubex-hro "cubex-hro (9 commits)")[![markusmilkereit](https://avatars.githubusercontent.com/u/676671?v=4)](https://github.com/markusmilkereit "markusmilkereit (9 commits)")[![j25j5](https://avatars.githubusercontent.com/u/54795300?v=4)](https://github.com/j25j5 "j25j5 (4 commits)")

---

Tags

aicontaoseogptKI

### Embed Badge

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

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

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-folderpage

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

18147.9k9](/packages/terminal42-contao-folderpage)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)

PHPackages © 2026

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