PHPackages                             sugardevelopersguide/sugar\_repair - 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. sugardevelopersguide/sugar\_repair

ActiveLibrary

sugardevelopersguide/sugar\_repair
==================================

CLI Quick Repair and Rebuild for SugarCRM, without going through the web UI or a working bin/sugarcrm console.

v1.0.0(yesterday)00MITPHP ^8.2

Since Jul 20Compare

[ Source](https://github.com/sugardevelopersguide/sugar_repair)[ Packagist](https://packagist.org/packages/sugardevelopersguide/sugar_repair)[ Docs](https://github.com/sugardevelopersguide/sugar_repair)[ RSS](/packages/sugardevelopersguide-sugar-repair/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

sugar\_repair
=============

[](#sugar_repair)

CLI Quick Repair and Rebuild for SugarCRM, without going through the web UI or a working `bin/sugarcrm` console (useful when the console itself is what's broken).

Install
-------

[](#install)

```
composer global require sugardevelopersguide/sugar_repair

```

Or as a dev dependency of a Sugar codebase:

```
composer require --dev sugardevelopersguide/sugar_repair

```

Either way you get a `sugar_repair` executable on your Composer bin path; run it against any Sugar installation:

```
sugar_repair [--cache]

```

- No flags: runs `RepairAndClear::repairAndClearAll()` for all modules (database repair, extensions, tpls, js, theme cache, etc.) — equivalent to the admin panel's "Quick Repair and Rebuild".
- `--cache`: also clears the full object cache, rebuilds the autoloader cache, and does a basic warm-up (loads every module's language file and bean, rebuilds the API dictionaries) — equivalent to `bin/sugarcrm admin:qrr --cache`.

Tested against Sugar 25.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52368f4f7d4e9ed96dbcd458e4fce9e9482c25c449a6a601519b3a6fab229b62?d=identicon)[sugardevelopersguide](/maintainers/sugardevelopersguide)

### Embed Badge

![Health badge](/badges/sugardevelopersguide-sugar-repair/health.svg)

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

PHPackages © 2026

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