PHPackages                             mirutee/debug-assist - 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. mirutee/debug-assist

ActiveLibrary

mirutee/debug-assist
====================

Auto-capture runtime errors and send diagnostics to DebugAssist API

00HTMLCI passing

Since Mar 29Pushed 1mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

DEBUG\_Assist
=============

[](#debug_assist)

> Diagnóstico inteligente de erros para APIs — detecta, explica e sugere correções em tempo real.

**[debugassist.com.br](https://debugassist.com.br)** · [Docs](https://debugassist.com.br/docs) · [Dashboard](https://debugassist.com.br/dashboard)

---

O que é
-------

[](#o-que-é)

O DEBUG\_Assist analisa erros de APIs (requisições HTTP, queries SQL, erros de frontend) e retorna um diagnóstico legível com causa, severidade e sugestões de correção — em português.

```
curl -X POST https://debugassist.com.br/v1/diagnosticos \
  -H "Authorization: Bearer SUA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tipo": "http_500",
    "mensagem": "Cannot read properties of undefined",
    "contexto": { "url": "/users", "method": "POST" }
  }'
```

```
{
  "problema": "Acesso a propriedade de objeto indefinido",
  "causa": "A variável está undefined antes de ser acessada — possivelmente retorno inesperado de banco de dados ou API externa",
  "nivel": "alto",
  "categoria": "backend",
  "sugestoes": [
    "Verifique se o retorno da query existe antes de acessar propriedades",
    "Adicione optional chaining: objeto?.propriedade",
    "Valide o payload de entrada antes de processar"
  ],
  "confianca": 0.91
}
```

---

SDKs
----

[](#sdks)

LinguagemPacoteInstalaçãoJavaScript / Node.js[debug-assist-sdk](https://www.npmjs.com/package/debug-assist-sdk)`npm install debug-assist-sdk`Python[debug-assist-sdk](https://pypi.org/project/debug-assist-sdk/)`pip install debug-assist-sdk`Ruby[debug\_assist](https://rubygems.org/gems/debug_assist)`gem install debug_assist`Go[sdk/go](https://pkg.go.dev/github.com/mirutee/debug-assist/sdk/go)`go get github.com/mirutee/debug-assist/sdk/go`C# / .NET[DebugAssist.SDK](https://www.nuget.org/packages/DebugAssist.SDK)`dotnet add package DebugAssist.SDK`PHP[debug-assist/debug-assist](https://packagist.org/packages/debug-assist/debug-assist)`composer require debug-assist/debug-assist`---

Planos
------

[](#planos)

PlanoDiagnósticos/mêsPreçoFree100GrátisPro1.000R$ 99/mêsScale10.000R$ 349/mêsEnterpriseCustomizadoConsulta---

Stack
-----

[](#stack)

- **Backend:** Node.js + Express
- **Banco de dados:** Supabase (PostgreSQL)
- **Pagamentos:** Stripe
- **E-mail:** Resend
- **Deploy:** Render
- **CI/CD:** GitHub Actions

---

Estrutura do projeto
--------------------

[](#estrutura-do-projeto)

```
src/
  engines/      # Motores de diagnóstico (frontend, backend, sql)
  routes/       # Endpoints da API
  middleware/   # Auth, rate limiting, validação
  db/           # Cliente Supabase
  email/        # Templates e envio via Resend
sdk/            # SDKs por linguagem
public/         # Landing page e dashboard
tests/          # Testes automatizados

```

---

Desenvolvimento local
---------------------

[](#desenvolvimento-local)

```
git clone https://github.com/mirutee/debug-assist.git
cd debug-assist
npm install
cp .env.example .env
# Preencha as variáveis no .env
npm run dev
```

### Testes

[](#testes)

```
npm test
```

---

API Reference
-------------

[](#api-reference)

Documentação completa: [debugassist.com.br/docs](https://debugassist.com.br/docs)

Spec OpenAPI: [`swagger.yaml`](./swagger.yaml)

### Endpoint principal

[](#endpoint-principal)

```
POST /v1/diagnosticos
Authorization: Bearer

```

**Categorias suportadas:** `frontend` · `backend` · `sql`

---

Licença
-------

[](#licença)

Proprietário — © 2026 DEBUG\_Assist. Todos os direitos reservados.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mirutee-debug-assist/health.svg)

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

PHPackages © 2026

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