PHPackages                             shvetsgroup/comments-exporter - 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. [CLI &amp; Console](/categories/cli)
4. /
5. shvetsgroup/comments-exporter

ActiveProject[CLI &amp; Console](/categories/cli)

shvetsgroup/comments-exporter
=============================

A console script that exports source code comments to csv files and vise versa. Supports most types of comments, both single and multi-line.

v1.0.2(9y ago)011MITPHPPHP &gt;=7.0

Since Apr 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/shvetsgroup/comments-exporter)[ Packagist](https://packagist.org/packages/shvetsgroup/comments-exporter)[ RSS](/packages/shvetsgroup-comments-exporter/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Comments exporter
=================

[](#comments-exporter)

**Comments exporter** is a console script that can export code comments from multiple source files to a csv file. This file can be used to perform bulk proofreading and editing over code comments. After that, comments can be imported back with the same script.

Script supports all types of C-like comments, such as:

```
// This one.
/* This one. */
/**
 * And this one.
 */
```

Installation
============

[](#installation)

**Requirements:**

- PHP7
- [Composer](https://getcomposer.org/doc/00-intro.md)

Comments exporter is installed as a global Composer package. You need to have Composer installed in your system and have the composer global tools added to [your PATH](https://unix.stackexchange.com/questions/280846/find-composer-global-install-path-as-root).

```
composer global require shvetsgroup/comments-exporter

```

**Updates**

```
composer global update shvetsgroup/comments-exporter

```

Usage
-----

[](#usage)

1. Export comments:

    ```
    comments-exporter export /path/to/project /path/to/csv-file.csv

    ```
2. Do something with the `csv-file.csv` contents. Do not add new rows, just edit the `comment` column.
3. Import comments back:

    ```
    comments-exporter import /path/to/csv-file.csv /path/to/project

    ```

Type `comments-exporter --help` to read about full list of supported parameters.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~0 days

Total

4

Last Release

3352d ago

Major Versions

v0.9 → v1.02017-04-26

### Community

Maintainers

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

---

Top Contributors

[![neochief](https://avatars.githubusercontent.com/u/121889?v=4)](https://github.com/neochief "neochief (14 commits)")

---

Tags

exportcomments

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shvetsgroup-comments-exporter/health.svg)

```
[![Health](https://phpackages.com/badges/shvetsgroup-comments-exporter/health.svg)](https://phpackages.com/packages/shvetsgroup-comments-exporter)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54642.4k4](/packages/jolicode-castor)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k58](/packages/open-dxp-opendxp)[testo/testo

A lightweight PHP testing framework.

1943.4k38](/packages/testo-testo)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)

PHPackages © 2026

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