PHPackages                             bitdigitalcodes/statamic-chatgpt - 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. bitdigitalcodes/statamic-chatgpt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bitdigitalcodes/statamic-chatgpt
================================

v1.2.1(9mo ago)31.5k—0%2[16 PRs](https://github.com/BitDigitalCodes/statamic-chatgpt/pulls)PHPCI failing

Since Jul 13Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/BitDigitalCodes/statamic-chatgpt)[ Packagist](https://packagist.org/packages/bitdigitalcodes/statamic-chatgpt)[ RSS](/packages/bitdigitalcodes-statamic-chatgpt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (23)Used By (0)

Statamic ChatGPT Add-on
=======================

[](#statamic-chatgpt-add-on)

> Statamic ChatGPT is a Statamic addon that allows you to generate content from ChatGPT from within the Bard editor from a prompt.

Features
--------

[](#features)

Some headline features:

- Generate a complete article from a single prompt
- Generate shorter single paragraphs for when you need help with a portion of an article
- Supports GPT5, GPT5-Mini, GPT5-Nano, GPT4o, GPT4o-Mini, ChatGPT 3.5-turbo, and ChatGPT 4
- Will support future versions when they become available
- Add site-wide context to your prompts to get more tailored responses (for example, configure ChatGPT to think it is an expert on writing SEO-optimised articles about gardening, if that's your thing)
- Configure the maximum number of tokens to be used with each prompt in order to manage your spend
- Manage your API key and various options from within the dashboard

### Settings

[](#settings)

[![Screenshot](https://camo.githubusercontent.com/564b27f3c7ef3e87bf680b3f60afafa0d6adf70718794ff3542ddf74cdc81212/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d312e706e67)](https://camo.githubusercontent.com/564b27f3c7ef3e87bf680b3f60afafa0d6adf70718794ff3542ddf74cdc81212/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d312e706e67)

### Icon added to Bard editor

[](#icon-added-to-bard-editor)

[![Screenshot](https://camo.githubusercontent.com/88d37eb17c1de8663b8c958e6dfe1e1548e5f4d5dfa2ecf446ae4bdd2a00a69b/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d322e706e67)](https://camo.githubusercontent.com/88d37eb17c1de8663b8c958e6dfe1e1548e5f4d5dfa2ecf446ae4bdd2a00a69b/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d322e706e67)

### Modal allows you to generate a full article or just a paragraph

[](#modal-allows-you-to-generate-a-full-article-or-just-a-paragraph)

[![Screenshot](https://camo.githubusercontent.com/dd3a6bde57f94d8212e9912eae5bfee3f2e87579976cfdb1b790f50db20f020a/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d332e706e67)](https://camo.githubusercontent.com/dd3a6bde57f94d8212e9912eae5bfee3f2e87579976cfdb1b790f50db20f020a/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d332e706e67)

### Fully formatted article is added to Bard, ready for you to use or edit

[](#fully-formatted-article-is-added-to-bard-ready-for-you-to-use-or-edit)

[![Screenshot](https://camo.githubusercontent.com/28a87c09ec1282d0417f6d13f44b21bfaf43f8436cdbd8fb873a271930c17355/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d342e706e67)](https://camo.githubusercontent.com/28a87c09ec1282d0417f6d13f44b21bfaf43f8436cdbd8fb873a271930c17355/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d342e706e67)

### Also generate a single paragraph

[](#also-generate-a-single-paragraph)

[![Screenshot](https://camo.githubusercontent.com/3c98a101fcbf0bdff58fc940c25b1753bd4b029e0432914ba764205be4072d88/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d766964656f2d6f7074696d697a65642d312e676966)](https://camo.githubusercontent.com/3c98a101fcbf0bdff58fc940c25b1753bd4b029e0432914ba764205be4072d88/68747470733a2f2f6269746469676974616c2e636f2e756b2f73746174616d69632d636861746770742f73746174616d69632d636861746770742d73637265656e73686f742d766964656f2d6f7074696d697a65642d312e676966)

How to Install
--------------

[](#how-to-install)

You can search for this addon in the `Tools > Addons` section of the Statamic control panel and click **install**, or run the following command from your project root:

```
composer require bitdigitalcodes/statamic-chatgpt
```

You will need to add your API key before the addon will work.

How to Use
----------

[](#how-to-use)

1. Once installed you should see a new 'ChatGPT' menu option on the left of the control panel. Click it.
2. Enter your API key ( if you don't have one already).
3. Select the model to use. Some of the later models may need to make a payment to get access.
4. Select the max tokens, or use defaults.
5. Give ChatGPT a bit of context about your site and the text you want it to write.
6. Save the config.
7. You'll now get a ChatGPT icon on any Bard editor. Click this for access to all features.

Troubleshooting
---------------

[](#troubleshooting)

> I'm getting an error mentioning my API key.

You probably haven't set up your API key properly in the control panel. Head to , get an API key, and carefully copy it across. You may also be using an API key that doesn't support the model you want to use, in which case try selecting a different model.

You may need to make a payment before some of the models will work. OpenAI removed the need to do this but there have been some user-land reports of still needing to do it.

Ensure your API key is valid for the models you want to use and you have sufficient credit.

> After about 2 minutes I get a message about the API timing out.

ChatGPT takes time to generate a response. We wait 2 minutes before giving up, this is usually plenty of time to get the response but if the API is under extreme load or is down then you may need to try again. If it persists check OpenAI status:

> I'm getting an \[Object object\] error pop-up when using.

Please let us know what steps you took for this to happen. We handle all errors gracefully, and any that are introduced by the API should be displayed to you. If you're getting this error then it's likely something we haven't accounted for. Please raise an issue on Github and we'll look into it.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance72

Regular maintenance activity

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.7% 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 ~152 days

Recently: every ~190 days

Total

6

Last Release

280d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6da24dd3b3b67b7b17a9957974c39437338ab55415048be0316e6be2b5b0252b?d=identicon)[bitdigital](/maintainers/bitdigital)

---

Top Contributors

[![mikemike](https://avatars.githubusercontent.com/u/91627?v=4)](https://github.com/mikemike "mikemike (13 commits)")[![jolora](https://avatars.githubusercontent.com/u/4901960?v=4)](https://github.com/jolora "jolora (2 commits)")

---

Tags

chatgptchatgpt-apistatamicstatamic-addon

### Embed Badge

![Health badge](/badges/bitdigitalcodes-statamic-chatgpt/health.svg)

```
[![Health](https://phpackages.com/badges/bitdigitalcodes-statamic-chatgpt/health.svg)](https://phpackages.com/packages/bitdigitalcodes-statamic-chatgpt)
```

###  Alternatives

[helgesverre/extractor

AI-Powered Data Extraction for your Laravel application.

22128.0k](/packages/helgesverre-extractor)[verbb/vizy

A flexible visual editor field for Craft.

4348.6k](/packages/verbb-vizy)[askerakbar/gpt-trix-editor

GPT Trix Editor package extends the default Trix editor features in the Filament PHP framework.

458.1k](/packages/askerakbar-gpt-trix-editor)[jiten14/jitone-ai

jitone-ai is a powerful FilamentPHP plugin that integrates AI-powered features directly into your Filament forms.

213.1k](/packages/jiten14-jitone-ai)

PHPackages © 2026

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