This custom GPT is tuned for modern PHP output. It utilizes context files generated via composer to quickly understand your code base.

What to Expect

  • Modern PHP 8.1+ output.
  • Utilizes composer to understand your package and it’s dependencies.
    • Can implement features from required packages.
  • Responses are tailored to your namespace including methods variables and styling wide.

Getting Started

Add AiContextBuilder to your PHP project

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",
    },
}

Generate context files

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.

Start a new chat

Open a new chat with our custom ChatGPT.

Upload files-*.txt

Upload any context files you wish to ask for help with.