PHPackages                             monarc/copilot - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. monarc/copilot

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

monarc/copilot
==============

MONARC Copilot module for FrontOffice

v0.1.0(1mo ago)16AGPL-3.0-or-laterPHPPHP ^8.1

Since Apr 23Pushed 1mo agoCompare

[ Source](https://github.com/monarc-project/monarc-copilot)[ Packagist](https://packagist.org/packages/monarc/copilot)[ Docs](https://github.com/monarc-project/monarc-copilot)[ RSS](/packages/monarc-copilot/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

MONARC Copilot
==============

[](#monarc-copilot)

MONARC Copilot is a FrontOffice module that adds a copilot endpoint and supporting services for contextual guidance inside MONARC ANR workflows.

Features
--------

[](#features)

- Provides a copilot API route under the FrontOffice ANR API.
- Builds contextual answers from ANR workflow state and selected objects or risks.
- Supports optional response refinement through an Ollama-compatible or OpenAI-style chat endpoint.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Composer
- MONARC FrontOffice 2.13+

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

[](#installation)

```
composer require monarc-project/monarc-copilot
```

Enable the module in your MONARC application and ensure the package config is merged.

Configuration
-------------

[](#configuration)

The module exposes a `copilot` config section in [`config/module.config.php`](config/module.config.php).

Example options:

- `copilot.maxRecommendations`
- `copilot.maxSources`
- `copilot.ollama.enabled`
- `copilot.ollama.transport`
- `copilot.ollama.baseUrl`
- `copilot.ollama.endpointPath`
- `copilot.ollama.model`
- `copilot.ollama.jsonMode`
- `copilot.ollama.timeout`

Development
-----------

[](#development)

Install dependencies:

```
composer install
```

Run tests:

```
vendor/bin/phpunit
```

License
-------

[](#license)

This project is licensed under `AGPL-3.0-or-later`. See [LICENSE](./LICENSE).

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26271eda0c7163210933a2cce0bff403bd8da5cb59d594b6b1a1d45bf177bb53?d=identicon)[ruslan.baidan](/maintainers/ruslan.baidan)

---

Top Contributors

[![ruslanbaidan](https://avatars.githubusercontent.com/u/3246171?v=4)](https://github.com/ruslanbaidan "ruslanbaidan (6 commits)")

---

Tags

laminascopilotrisk analysismonarc

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[rwoverdijk/assetmanager

An assetmanager module for Laminas.

2142.1M49](/packages/rwoverdijk-assetmanager)

PHPackages © 2026

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