Help

← Back to Help

How to Analyze Your Project

The code map generator is a PHP-based, AI-friendly tool that scans your web project and produces a structured code_map.json — a full map of your codebase. This file gives AI models (like ChatGPT, Claude, or Gemini) a complete view of your project’s structure, logic, and relationships. It also helps you understand and maintain your own codebase better.

📁 Selecting the Project Folder

By default, the tool scans the folder it's running from. You can specify a different target folder by entering a relative path in the input field:

The generated code_map.json will be saved inside the folder that was scanned. If you're using an IDE like VSCode or PhpStorm, it will appear right inside your project folder.

📂 Exclusion Options (You Control What to Analyze)

You can specify folders and files to exclude using filters. The tool does not automatically guess what to skip — you tell it.

Only files that pass these filters are included in the code map and analysis.

🧠 Code Analysis Capabilities

🔗 Dependency Mapping

📊 Size Estimation and Token Budget

🧭 Full Structure Map

Once the scan is complete, you’ll get two key outputs:

📌 Included File Types

Only actual code files are included in the code map — no binaries, no images, and no minified vendor files. Specifically:

This ensures the resulting code map remains clean, relevant, and optimized for AI processing.

📦 Smart Output

Empty or irrelevant blocks are automatically filtered out to keep your code map small and meaningful. Only significant content is retained.


If you have any questions, feature requests, need help, or want to give feedback — feel free to contact us at