PHPackages                             devpaulopaixao/mantis-bugcatcher - 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. [API Development](/categories/api)
4. /
5. devpaulopaixao/mantis-bugcatcher

ActiveLibrary[API Development](/categories/api)

devpaulopaixao/mantis-bugcatcher
================================

Laravel mantis bugtracker api integration

06PHP

Since Aug 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/devpaulopaixao/mantis-bugcatcher)[ Packagist](https://packagist.org/packages/devpaulopaixao/mantis-bugcatcher)[ RSS](/packages/devpaulopaixao-mantis-bugcatcher/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

MantisBugCatcher
================

[](#mantisbugcatcher)

*Integração com a API do Mantis BUG Tracker*

[![Total Downloads](https://camo.githubusercontent.com/d0e1daa15b0d591b7d477d8a803c0dda130ec6b57c609f045af7ab956ef0fe45/68747470733a2f2f706f7365722e707567782e6f72672f6465767061756c6f70616978616f2f6d616e7469732d627567636174636865722f646f776e6c6f616473)](https://packagist.org/packages/devpaulopaixao/mantis-bugcatcher)[![License](https://camo.githubusercontent.com/89b28ac231d0eae18ecc9097151a9a245d318e90d69c95a0703135bf289c5704/68747470733a2f2f706f7365722e707567782e6f72672f6465767061756c6f70616978616f2f6d616e7469732d627567636174636865722f6c6963656e7365)](https://packagist.org/packages/devpaulopaixao/mantis-bugcatcher)

### Sobre o Mantis

[](#sobre-o-mantis)

MantisBT é um rastreador de problemas de código aberto que fornece um equilíbrio delicado entre simplicidade e poder. Os usuários podem começar em minutos e começar a gerenciar seus projetos enquanto colaboram com seus colegas de equipe e clientes de forma eficaz. Depois de começar a usar, você nunca mais vai voltar!

### Por que o Mantis?

[](#por-que-o-mantis)

Gratuito e de código aberto, o MantisBT é uma ferramenta de gestão de projetos e rastreamento de erros que dá às equipes de desenvolvimento a flexibilidade de personalizar tíquetes de problemas e processos de fluxo de trabalho.

Requisitos
----------

[](#requisitos)

- "guzzlehttp/guzzle": "^7.3"

Instalação
----------

[](#instalação)

Instale o [Composer](http://getcomposer.org) caso você não o tenha.

```
composer require devpaulopaixao/mantis-bugcatcher

```

Ou, em seu 'composer.json' adicione:

```
{
    "require": {
        "devpaulopaixao/laravel-tools": "dev-main"
    }
}
```

Em seguida, execute o comando de instalação do gerenciador de pacotes:

```
composer install

```

Depois, adicione a seguinte linha ao seu 'config/app.php' em 'providers':

```
Devpaulopaixao\MantisBugcatcher\MantisServiceProvider::class,

```

Com isso, o pacote está pronto para ser utilizado.

---

Variáveis de ambiente
---------------------

[](#variáveis-de-ambiente)

Adicione ao seu arquivo '.env' as variáveis de ambiente que possibilitarão a comunicação com o servidor onde está localizado o sistema de monitoramento do Mantis:

```
MANTIS_URL="URL DO SERVIDOR"
MANTIS_SECRET="CHAVE DE ACESSO AO MANTIS"
MANTIS_PROJECT_ID="ID DO RESPECTIVO PROJETO"
MANTIS_PROJECT_NAME="NOME DO RESPECTIVO PROJETO"
MANTIS_TIMEOUT="LIMITE PARA EXPIRAR CONEXÃO COM O SERVIDOR(OPCIONAL)"

```

Endpoints de API
----------------

[](#endpoints-de-api)

1. [Create an issue minimal](https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP#028dda86-2165-b74a-490b-7e0487eeb853):

    ```
    /**
      * Create an issue minimal
      *
      * @access public
      * @param array $data [
      *
      * Array contendo os parâmetros necessários para executar a funcionalidade.
      *
      * @param string $summary
      * @param string $description
      * @param array $category[
      *  @param string $name
      * ]
      *
      * ]
      * @return Object
      */
      MantisBugcatcher::createAnIssueMinimal([
         'summary'   => '',
         'description' => '',
         'category' => [
             'name' => ''
         ]
      ]);
    ```

    Esta função retorna um objeto com as seguintes propriedades em caso de sucesso ou erro:

    ```
     return (object)[
                "status"   => 'success',
                "data"     => json_decode($response->getBody()->getContents())
            ];
    ```

    ```
     return (object)[
                "status"   => 'error',
                "code"     => $response->getStatusCode() != null ? $response->getStatusCode() : 000,
                "message"  => $e->getMessage(),
            ];
    ```
2. [Create an issue](https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP#a3f345e6-c4b6-1361-3b61-839f9205a954):

    ```
    /**
      * Create an issue minimal
      *
      * @access public
      * @param array $data [
      *
      * Array contendo os parâmetros necessários para registrar a issue completa.
      *
      * @param string $summary
      * @param string $description
      * @param string $additional_information (optional)
      * @param array $project[
      *  @param integer $id
      *  @param string $name
      * ]
      * @param array|integer $category[
      *  @param integer $id
      *  @param string $name
      * ]
      * @param array $handler[
      *  @param string $name
      * ]
      * @param array|integer $view_state[
      *  @param integer $id
      *  @param string $name
      * ]
      * @param array $priority[
      *  @param string $name
      * ]
      * @param array $severity[
      *  @param string $name
      * ]
      * @param array $reproducibility[
      *  @param string $name
      * ]
      * @param bool $sticky (optional) false
      * @param array $custom_fields (optional)[
      *  @param array $field[
      *      @param integer $id
      *      @param string $name
      *  ]
      *  @param string $value
      * ]
      * @param array $tags (optional)[
      *  @param string $name
      * ]
      *
      * ]
      * @return Object
      */
      MantisBugcatcher::createAnIssue([
         'summary'   => '',
         'description' => '',
         'additional_information' => '',
         'category' => [
             'id' => ''
             'name' => ''
         ],
         'handler' => [
             'name' => ''
         ],
         'view_state' => [
             'id' => ''
             'name' => ''
         ],
         'priority' => [
             'name' => ''
         ],
         'severity' => [
             'name' => ''
         ],
         'reproducibility' => [
             'name' => ''
         ],
         'sticky' => '',
         'custom_fields' => [],
         'tags'=> [],
      ]);
    ```

    Esta função retorna um objeto com os mesmos parâmetros especificados no primeiro exemplo.

Licença
-------

[](#licença)

MIT

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/964980376259f8d693f224d23d20f0893bb7fcbe282b29f742338feb848d9c67?d=identicon)[blackswitch09](/maintainers/blackswitch09)

---

Top Contributors

[![devpaulopaixao](https://avatars.githubusercontent.com/u/37369648?v=4)](https://github.com/devpaulopaixao "devpaulopaixao (11 commits)")

### Embed Badge

![Health badge](/badges/devpaulopaixao-mantis-bugcatcher/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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