A Custom ChatGPT
This custom GPT is tuned for modern PHP output. It utilizes context files generated via composer to quickly understand your code base.
Step 1
Install AiContextBuilder as a development dependancy via composer.
composer require carmelosantana/ai-context-builder --dev
Add the following configuration to your composer.json
file:
{
"scripts": {
"ai": "CarmeloSantana\\AiContextBuilder\\ContextBuilder::generateContext",
},
}
Step 2
After installation just run the following command:
composer ai
This will scan the src
directory and any additional directories or files specified in the configuration. You will find the generated context files in the .ai
directory at the root of your project.
Step 3
Open a new chat with our custom ChatGPT.
Step 4
Upload any context files you wish to ask for help with.