PHPackages                             reiterus/mcx-info-symfony - 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. reiterus/mcx-info-symfony

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

reiterus/mcx-info-symfony
=========================

Information card of the Russian Federation Agriculture Ministry as Symfony Bundle

3.0.0(3y ago)3241MITPHPPHP ^8.1

Since Jul 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/reiterus/mcx-info-symfony)[ Packagist](https://packagist.org/packages/reiterus/mcx-info-symfony)[ RSS](/packages/reiterus-mcx-info-symfony/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Card of the Russia Agriculture Ministry
=======================================

[](#card-of-the-russia-agriculture-ministry)

Summary information on the Ministry of Agriculture of the Russian Federation as a Symfony bundle that provides a REST API URL with response in json format.

Default URL: `/bundle/mcx/info/index`

All data was obtained from the public Internet resource of the ministry.

[![screenshot from the website Agriculture Ministry](picture.png)](https://mcx.gov.ru)

Some of the response content can be manipulated:

- main data (main): title, address, site, etc
- officials of the ministry (persons)
- contacts

The `app` directory contains ready-to-use files, which need to be moved to the appropriate directories your project, which will lead to the completion of the default information.

Response
========

[](#response)

The output can be show in two formats:

- in one line
- beautifully formatted

```
{
    "title": "Министерство сельского хозяйства Российской Федерации",
    "description": "Федеральный орган исполнительной власти...",
    "address": "107996, Москва, Орликов переулок, 1\/11",
    "site": "https:\/\/mcx.gov.ru",
    "contacts": [
        "Тел.: +7 (495) 607-80-00",
        "Факс: +7 (495) 607-83-62",
        "info@mcx.gov.ru"
    ],
    "persons": [
        [
            "Патрушев Дмитрий Николаевич",
            "Министр сельского хозяйства Российской Федерации",
            "info@mcx.gov.ru",
            "Тел.: +7 (495) 607-80-00",
            "Факс: +7 (495) 607-83-62"
        ],
        [
          "..."
        ]
    ]
}
```

Usage
=====

[](#usage)

URL setting

```
# connecting config with route
reiterus_mcx_info:
  resource: '@McxInfoBundle/Resources/config/routes.xml'
  prefix: /bundle/mcx/info
```

Package setup

```
# adding contacts and formatting the output
reiterus_mcx_info:
    contacts:
        - 'Тел.: +7 (495) 607-80-00'
        - 'Факс: +7 (495) 607-83-62'
        - 'info@mcx.gov.ru'
    pretty: true

# addition of personalities through a service with a specific tag
services:
    app.reiterus_mcx_info_persons:
        class: App\Util\McxPersons
        tags:
            - { name: 'tag_mcx_info_persons' }
```

Installation
============

[](#installation)

You can install the bundle in two ways

From packagist.org

```
composer require reiterus/mcx-info-symfony
```

From GitHub repository

```
{
 "repositories": [
  {
   "type": "vcs",
   "url": "https://github.com/reiterus/mcx-info-symfony.git"
  }
 ]
}
```

Tests
=====

[](#tests)

To run tests with visual code coverage, launch the command as follows:

```
XDEBUG_MODE=coverage ./vendor/phpunit/phpunit/phpunit \
--configuration phpunit.xml \
--testsuite default \
--coverage-html coverage/
```

Test results will be saved in the `coverage` directory.

[![Coverage](coverage.png)](coverage.png)

**Tip**: `vendor/bin/phpunit --generate-configuration`

License
=======

[](#license)

This library is released under the [MIT license](LICENSE).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~90 days

Total

4

Last Release

1189d ago

Major Versions

1.1.0 → 2.0.02022-07-19

2.0.0 → 3.0.02023-04-02

PHP version history (2 changes)1.0.0PHP ^7.4

3.0.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

agriculturebundlereiterussymfonysymfony-bundlesymfonybundleRussiaagriculturereiterus

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/reiterus-mcx-info-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/reiterus-mcx-info-symfony/health.svg)](https://phpackages.com/packages/reiterus-mcx-info-symfony)
```

###  Alternatives

[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18170.8k](/packages/ekreative-uuid-extra-bundle)[gwk/dynamo-session-bundle

DynamoDB Session Handler Bundle for Symfony 2

14210.9k](/packages/gwk-dynamo-session-bundle)[fsi/datagrid-bundle

FSi Datagrid Bundle

1861.0k1](/packages/fsi-datagrid-bundle)[glooby/task-bundle

Scheduling of tasks for symfony made simple

3216.4k](/packages/glooby-task-bundle)

PHPackages © 2026

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