PHPackages                             tourze/claude-todo-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tourze/claude-todo-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

tourze/claude-todo-bundle
=========================

A Symfony bundle for managing TODO tasks with Claude AI integration

0.0.1(5mo ago)00MITPHPPHP ^8.2CI passing

Since Nov 18Pushed 4mo agoCompare

[ Source](https://github.com/tourze/claude-todo-bundle)[ Packagist](https://packagist.org/packages/tourze/claude-todo-bundle)[ RSS](/packages/tourze-claude-todo-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (31)Versions (2)Used By (0)

Claude TODO Bundle
==================

[](#claude-todo-bundle)

[English](README.md) | [中文](README.zh-CN.md)

一个用于管理TODO任务并集成Claude AI执行的Symfony Bundle。

功能特性
----

[](#功能特性)

- 📝 TODO任务管理（创建、存储、检索）
- 🏷️ 任务分组管理
- 🤖 Claude AI集成，自动执行任务
- 🖥️ 命令行接口操作

安装
--

[](#安装)

```
composer require tourze/claude-todo-bundle
```

配置
--

[](#配置)

在 `config/packages/claude_todo.yaml` 中配置：

```
claude_todo:
    claude:
        api_key: '%env(CLAUDE_API_KEY)%'
        model: 'claude-3-sonnet'
        max_tokens: 4000
    task:
        default_timeout: 300
        max_retries: 3
```

使用方法
----

[](#使用方法)

### 添加任务

[](#添加任务)

```
bin/console claude-todo:push "backend" "实现用户认证API"
```

### 获取任务

[](#获取任务)

```
# 从所有任务中获取
bin/console claude-todo:pop

# 从指定分组获取
bin/console claude-todo:pop "backend"
```

### 列出任务

[](#列出任务)

```
# 列出待处理和进行中的任务（默认）
bin/console claude-todo:list

# 列出指定分组的任务
bin/console claude-todo:list "backend"

# 列出所有状态的任务
bin/console claude-todo:list --all

# 列出特定状态的任务
bin/console claude-todo:list --status=completed

# 列出多个状态的任务
bin/console claude-todo:list --status=pending --status=failed

# 限制显示数量
bin/console claude-todo:list --limit=20
```

### 执行任务

[](#执行任务)

```
bin/console claude-todo:run 123
```

### 清理任务

[](#清理任务)

```
# 清理所有任务
bin/console claude-todo:clear --force

# 清理指定分组的任务
bin/console claude-todo:clear "backend" --force

# 交互式确认清理
bin/console claude-todo:clear
```

### 修复已完成任务时间

[](#修复已完成任务时间)

```
# 修复缺失完成时间的已完成任务
bin/console claude-todo:fix-completed-time

# 预览模式（不实际修改）
bin/console claude-todo:fix-completed-time --dry-run
```

### Worker模式（持续执行）

[](#worker模式持续执行)

启动Worker持续监听并执行任务：

```
# 默认设置（永不超时）
bin/console claude-todo:worker

# 指定组
bin/console claude-todo:worker --group=backend

# 设置空闲超时（秒）
bin/console claude-todo:worker --idle-timeout=600

# 设置1小时后空闲退出
bin/console claude-todo:worker --idle-timeout=3600

# 自定义检查间隔和重试次数
bin/console claude-todo:worker --check-interval=5 --max-attempts=5
```

Worker会自动：

- 获取优先级最高的待处理任务
- 使用Claude CLI执行任务
- 更新任务状态（完成或失败）
- 继续处理下一个任务
- 当达到空闲超时时停止

开发
--

[](#开发)

### 运行测试

[](#运行测试)

```
composer test
```

### 代码检查

[](#代码检查)

```
composer phpstan
composer cs-fix
```

许可证
---

[](#许可证)

MIT

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance72

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

174d ago

### Community

Maintainers

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

---

Top Contributors

[![tourze](https://avatars.githubusercontent.com/u/13899502?v=4)](https://github.com/tourze "tourze (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tourze-claude-todo-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tourze-claude-todo-bundle/health.svg)](https://phpackages.com/packages/tourze-claude-todo-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

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

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

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

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

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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