Download the PHP package wuhhh/field-agent without Composer
On this page you can find all versions of the php package wuhhh/field-agent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wuhhh/field-agent
More information about wuhhh/field-agent
Files in wuhhh/field-agent
Package field-agent
Short Description An intelligent Craft CMS plugin for AI-powered field generation, modification, and context-aware operations
License proprietary
Informations about the package field-agent
Field Agent Plugin for Craft CMS
⚠️ ALPHA SOFTWARE - USE WITH CAUTION ⚠️
This plugin uses AI to generate Craft CMS fields, entry types, and sections from natural language prompts. The plugin supports all native Craft CMS field types (as of Craft 5.8 and including the new Content Block) as well as CKEditor fields.
WARNING: This is an experimental plugin and you should not use it on production sites. Always backup your database before testing it.
Note: Rollback functionality currently only supports CREATE operations - field/entry type/section modifications and deletions cannot be rolled back.
Alpha Installation
This plugin is not yet available in the Craft Plugin Store. To install for testing:
Configuration Setup
-
Create config file - Copy the plugin's config file to your project:
-
Add API key to
.env(you only need one): - Set default provider in
config/field-agent.phpif desired:
Test your setup:
Basic Usage
The plugin analyzes your existing Craft setup and creates or modifies fields/entry types/sections based on natural language prompts.
Main command:
Examples:
The system will automatically:
- Analyse existing project structure
- Avoid naming conflicts with reserved Craft handles
- Reuse existing fields when appropriate
- Create fields, then entry types, then sections in proper order
Commands
Generation
Operation Management
Troubleshooting
API Issues
Common Problems
- 401 errors: Verify your API key is correct and has credits
- Field conflicts: System handles automatically, check operation history
- Operation failures: Use
--debugmode to see detailed error information
Debug Mode
Add --debug to see full AI request/response and operation details:
What It Does
This plugin generates Craft CMS fields, entry types, and sections using AI from natural language descriptions. It analyzes your existing Craft setup to avoid conflicts and reuse appropriate fields.
Key capabilities:
- Understands all native Craft fields plus CKEditor
- Modifies existing entry types without breaking content
- Avoids reserved Craft handles and suggests alternatives
- Creates related structures (category groups, tag groups) automatically
- Provides complete rollback of all operations
Alpha Testing Notes
This is experimental software. It works well but may have edge cases. Please:
- Test on development sites only
- Backup your database before major operations
- Report issues at: https://github.com/wuhhh/field-agent/issues
- Use
--debugmode to understand what's happening
License
Proprietary - Commercial plugin for Craft CMS