eliashaeussler/typo3-solver

Extension for TYPO3 CMS to extend TYPO3's exception handling with AI generated solutions


README

Error page screenshot

TYPO3 extension solver

Coverage Maintainability Tests CGL Release License
Version Downloads Supported TYPO3 versions Extension stability Slack

📙 Documentation | 📦 Packagist | 🐥 TYPO3 extension repository | 💾 Repository | 🐛 Issue tracker

An extension for TYPO3 CMS to solve exceptions with AI generated solutions. It uses the OpenAI PHP client to send a prompt to a configured model and uses the responded completion as solution. Several completion attributes (model, tokens, temperature, number of completions) are configurable. It also provides a console command to solve problems from command line.

🚀 Features

  • Extended exception handler with AI generated solutions
  • Configurable AI completion attributes (model, tokens, temperature, number of completions)
  • Caching integration for solved problems
  • Command to solve problems from command line
  • Customizable solution providers and prompts
  • Compatible with TYPO3 11.5 LTS and 12.4 LTS

💎 Credits

The extension icon ("lightbulb-on") is a modified version of the original actions-lightbulb-on icon from TYPO3 core. In addition, the icons actions-calendar, actions-cpu, actions-debug, actions-exclamation-triangle-alt and spinner-circle from TYPO3 core are used. All icons are originally licensed under MIT License.

This project is highly inspired by the article Fix your Laravel exceptions with AI by Marcel Pociot.

In addition, I'd like to thank Nuno Maduro and all contributors of the openai-php/client library for this beautiful piece of code.

⭐ License

This project is licensed under GNU General Public License 2.0 (or later).