{"id":21561666,"url":"https://github.com/testmonitor/mantis-client","last_synced_at":"2025-04-10T12:05:47.226Z","repository":{"id":36402093,"uuid":"223800227","full_name":"testmonitor/mantis-client","owner":"testmonitor","description":"The TestMonitor Mantis Client.","archived":false,"fork":false,"pushed_at":"2024-10-07T07:50:27.000Z","size":61,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T10:56:28.275Z","etag":null,"topics":["api","client","mantisbt"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/testmonitor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-24T19:45:11.000Z","updated_at":"2024-10-07T07:50:32.000Z","dependencies_parsed_at":"2024-08-15T08:40:16.674Z","dependency_job_id":"5ea63a7d-9d7b-4498-82e0-f6ea90f26200","html_url":"https://github.com/testmonitor/mantis-client","commit_stats":{"total_commits":41,"total_committers":5,"mean_commits":8.2,"dds":0.5121951219512195,"last_synced_commit":"9e11b84a25d6bcc783392a7ea67ad37af339ce51"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fmantis-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fmantis-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fmantis-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testmonitor%2Fmantis-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testmonitor","download_url":"https://codeload.github.com/testmonitor/mantis-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856541,"owners_count":21007620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","mantisbt"],"created_at":"2024-11-24T09:27:31.553Z","updated_at":"2025-04-10T12:05:47.193Z","avatar_url":"https://github.com/testmonitor.png","language":"PHP","readme":"# TestMonitor Mantis Client\n\n[![Latest Stable Version](https://poser.pugx.org/testmonitor/mantis-client/v/stable)](https://packagist.org/packages/testmonitor/mantis-client)\n[![CircleCI](https://img.shields.io/circleci/project/github/testmonitor/mantis-client.svg)](https://circleci.com/gh/testmonitor/mantis-client)\n[![StyleCI](https://styleci.io/repos/223800227/shield)](https://styleci.io/repos/223800227)\n[![codecov](https://codecov.io/gh/testmonitor/mantis-client/graph/badge.svg?token=KJXOGDF7SJ)](https://codecov.io/gh/testmonitor/mantis-client)\n[![License](https://poser.pugx.org/testmonitor/mantis-client/license)](https://packagist.org/packages/testmonitor/mantis-client)\n\nThis package provides a very basic, convenient, and unified wrapper for the [Mantis REST API](https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP?version=latest).\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Tests](#tests)\n- [Changelog](#changelog)\n- [Contributing](#contributing)\n- [Credits](#credits)\n- [License](#license)\n\n## Installation\n\nTo install the client you need to require the package using composer:\n\n\t$ composer require testmonitor/mantis-client\n\nUse composer's autoload:\n\n```php\nrequire __DIR__.'/../vendor/autoload.php';\n```\n\nYou're all set up now!\n\n## Usage\n\nYou'll have to instantiate the client using your credentials:\n\n```php\n$mantis = new \\TestMonitor\\Mantis\\Client('https://instance-name.mantishub.io', 'REST token');\n```\n\nNext, you can start interacting with Mantis.\n\n## Examples\n\nGet a list of Mantis projects:\n\n```php\n$projects = $mantis-\u003eprojects();\n```\n\nOr creating an issue, for example (using category 'Bug' and project 1):\n\n```php\n$issue = $mantis-\u003ecreateIssue(new \\TestMonitor\\Mantis\\Resources\\Issue([\n    'summary' =\u003e 'Some issue',\n    'description' =\u003e 'A better description',\n    'category' =\u003e 'Bug',\n]), '1');\n```\n\n## Tests\n\nThe package contains integration tests. You can run them using PHPUnit.\n\n    $ vendor/bin/phpunit\n\n## Changelog\n\nRefer to [CHANGELOG](CHANGELOG.md) for more information.\n\n## Contributing\n\nRefer to [CONTRIBUTING](CONTRIBUTING.md) for contributing details.\n\n## Credits\n\n* **Thijs Kok** - *Lead developer* - [ThijsKok](https://github.com/thijskok)\n* **Stephan Grootveld** - *Developer* - [Stefanius](https://github.com/stefanius)\n* **Frank Keulen** - *Developer* - [FrankIsGek](https://github.com/frankisgek)\n* **Muriel Nooder** - *Developer* - [ThaNoodle](https://github.com/thanoodle)\n\n## License\n\nThe MIT License (MIT). Refer to the [License](LICENSE.md) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestmonitor%2Fmantis-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestmonitor%2Fmantis-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestmonitor%2Fmantis-client/lists"}