PHPackages                             baad777/codeingestor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. baad777/codeingestor

ActiveLibrary

baad777/codeingestor
====================

Parse PHP projects into structured text files for LLM ingestion.

0.0.8(1y ago)019MITPHPPHP ^8.2

Since Mar 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/baad777/codeingestor)[ Packagist](https://packagist.org/packages/baad777/codeingestor)[ RSS](/packages/baad777-codeingestor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (7)Used By (0)

CodeIngestor
============

[](#codeingestor)

CodeIngestor is a library designed to parse PHP projects into structured text files for large language model (LLM) ingestion. This tool helps in extracting important information from your codebase and making it easily accessible for analysis, documentation generation, or other computational tasks.

Features
--------

[](#features)

- **Parse PHP Projects:** Extracts relevant information from PHP project files.
- **Structured Text Output:** Generates structured text files that can be used as input for LLMs.
- **Configurable Source Path:** Allows you to specify the directory of your PHP project.
- **Ignore Directories and Files:** Option to exclude certain directories and files from processing.

Installation
------------

[](#installation)

You can install CodeIngestor via Composer:

```
composer require baad777/codeingestor --dev
```

Or you can install it globally

```
composer global require baad777/codeingestor
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

Optional: init a default configuration file with the command:

```
./vendor/bin/codeingestor --init
```

OR:

Create a configuration file named `codeingestor.yaml` in the root of your project with the following structure(example):

```
# Default configuration
sourcePath: "./"                            # Folder to scan
outputFile: "codeingestor_output.txt"       # Output file
ignoreDirs:                                 # Directories to skip
  - vendor
  - node_modules
  - .git
ignoreFiles:                                # Files to skip
  - .env
  - .gitignore
  - "*.lock"
```

- `source`: The directory path of your PHP project.
- `output`: The file path where the structured text output will be saved.
- `ignore_dirs`: A list of directories to ignore during the parsing process.

### Command Line Interface

[](#command-line-interface)

CodeIngestor comes with a command line interface (CLI) tool. You can run it using the following command:

```
./vendor/bin/codeingestor /path/to/folder
```

This command will execute the parser and generate the structured text output based on your configuration.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

CodeIngestor is licensed under the MIT License.

Contact
-------

[](#contact)

If you have any questions or need further assistance, feel free to reach out at .

---

This README provides a basic overview of CodeIngestor. For more detailed information, please refer to the code documentation and example configurations available in the repository.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance49

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

6

Last Release

371d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef857a86eaab613349e2ad084775513504f5654c3a892577951337fe8c1dae57?d=identicon)[baad777](/maintainers/baad777)

---

Top Contributors

[![BancuTheKind](https://avatars.githubusercontent.com/u/6428255?v=4)](https://github.com/BancuTheKind "BancuTheKind (34 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/baad777-codeingestor/health.svg)

```
[![Health](https://phpackages.com/badges/baad777-codeingestor/health.svg)](https://phpackages.com/packages/baad777-codeingestor)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[laravel/sail

Docker files for running a basic Laravel application.

1.9k186.9M1.0k](/packages/laravel-sail)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
