PHPackages                             laracode/laracode - 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. laracode/laracode

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

laracode/laracode
=================

Laravel Autonomous Coding Engine - AI-powered development companion

v0.2.2(3mo ago)11[1 PRs](https://github.com/rowino/laracode/pulls)MITPHPPHP ^8.2CI failing

Since Jan 22Pushed 2mo agoCompare

[ Source](https://github.com/rowino/laracode)[ Packagist](https://packagist.org/packages/laracode/laracode)[ Docs](https://github.com/rowino/laracode)[ RSS](/packages/laracode-laracode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (6)Used By (0)

LaraCode
========

[](#laracode)

An autonomous build system for Laravel projects using Claude AI. LaraCode breaks down features into structured tasks and executes them sequentially with dependency resolution.

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

[](#installation)

```
composer global require laracode/laracode
```

Quick Start
-----------

[](#quick-start)

### 1. Initialize a Project

[](#1-initialize-a-project)

```
cd your-laravel-project
laracode init
```

### 2. Create a Plan

[](#2-create-a-plan)

Use plan mode to design your feature. When done, press `esc` and run:

```
/generate-tasks

```

### 3. Run the Build

[](#3-run-the-build)

```
laracode build .laracode/specs/my-feature/tasks.json --mode=yolo
```

### 4. Start Watch Mode

[](#4-start-watch-mode)

```
laracode watch
```

### 5. Review and Refine

[](#5-review-and-refine)

Add `@ai` comments in your code to request changes:

```
// @ai Refactor this method to use dependency injection
// @ai Add proper error handling
```

### 6. Submit for Processing

[](#6-submit-for-processing)

Add `ai!` when ready to trigger Claude:

```
// @ai Refactor this method to use dependency injection
// @ai Add proper error handling
// ai!
```

Task Generation
---------------

[](#task-generation)

### `laracode self-update`

[](#laracode-self-update)

Updates LaraCode to the latest version from GitHub releases.

```
# Update to latest stable version
laracode self-update

# Check for updates without installing
laracode self-update --check

# Include pre-release versions
laracode self-update --unstable

# Rollback to previous version
laracode self-update --rollback
```

> **Note:** Self-update only works when running from the PHAR binary. For development installs, use `composer update` instead.

Task Generation with `/generate-tasks`
--------------------------------------

[](#task-generation-with-generate-tasks)

The `/generate-tasks` skill generates structured task files from conversations or spec files.

### Output

[](#output)

```
✓ Generated tasks for: Blog Module

Directory: .laracode/specs/blog-module/
  - spec.md
  - tasks.json

Tasks: 12 total
  Setup: 2 (priority 1-10)
  Core: 6 (priority 11-80)
  Tests: 3 (priority 81-95)
  Docs: 1 (priority 96-99)

```

### Task Granularity

[](#task-granularity)

ComplexityTask CountExampleSimple5-8 tasksLogin form, settings pageMedium10-20 tasksUser auth system, CRUD moduleComplex30-100+ tasksMulti-tenant platformBuild Command
-------------

[](#build-command)

Runs the autonomous build loop using a tasks.json file.

```
laracode build  [options]
```

### Options

[](#options)

OptionDefaultDescription`--iterations`100Maximum number of tasks to execute`--delay`3Seconds between tasks`--mode`yoloPermission mode: `yolo`, `accept`, or `default`### Examples

[](#examples)

```
laracode build .laracode/specs/feature/tasks.json
laracode build .laracode/specs/feature/tasks.json --mode=yolo
laracode build .laracode/specs/feature/tasks.json --iterations=10
```

Watch Mode
----------

[](#watch-mode)

Monitors files for `@ai` comments and triggers Claude processing.

```
laracode watch [options]
```

### Options

[](#options-1)

OptionDefaultDescription`--paths`app/, routes/, resources/, tests/Directories to watch`--search-word`@aiComment marker to search for`--stop-word`ai!Trigger word to start processing`--mode`interactivePermission mode: `yolo`, `accept`, `interactive`### Setup

[](#setup)

Watch mode requires Node.js with chokidar:

```
npm install chokidar
```

### Configuration

[](#configuration)

Create `.laracode/watch.json` for persistent settings:

```
{
    "paths": ["app/", "routes/", "resources/", "tests/"],
    "searchWord": "@ai",
    "stopWord": "ai!",
    "mode": "interactive",
    "excludePatterns": ["**/vendor/**", "**/node_modules/**"]
}
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance84

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Total

4

Last Release

90d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/642e7ca35ae4978138f2d85caec5e9f85c600d6d2fd0902b26cd496c0184c144?d=identicon)[ralphowino](/maintainers/ralphowino)

---

Top Contributors

[![rowino](https://avatars.githubusercontent.com/u/2177704?v=4)](https://github.com/rowino "rowino (16 commits)")

---

Tags

clilaravelaicodingautonomous

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[phpsa/filament-dadjokes

With DadJokes every time you load your control panel you'll be greeted by an epic dad joke on the dashboard.

1714.1k](/packages/phpsa-filament-dadjokes)

PHPackages © 2026

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