PHPackages                             proklung/bitrixannotatedresolversbundle - 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. proklung/bitrixannotatedresolversbundle

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

proklung/bitrixannotatedresolversbundle
=======================================

Addon for Symfony bundle for transform parameters of request to DTO. Bitrix specify part

1.0.9(4y ago)125MITPHPPHP &gt;=7.3 || ~8.0

Since Apr 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ProklUng/BitrixAnnotatedResolversBundle)[ Packagist](https://packagist.org/packages/proklung/bitrixannotatedresolversbundle)[ RSS](/packages/proklung-bitrixannotatedresolversbundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (10)Dependencies (9)Versions (11)Used By (0)

Битриксовые конвертеры для бандла AnnotatedParamResolverBundle
==============================================================

[](#битриксовые-конвертеры-для-бандла-annotatedparamresolverbundle)

Конверторы для бандла [https://github.com/ProklUng/AnnotatedParamResolverBundle](AnnotatedParamResolverBundle), без него он не имеет смысла, да и не запустится:

1. **BitrixFile**

В action контроллера, при запросе вида /route?file=7; где 7 - битриксовый ID файла, будет лежать массив, идентичный тому, что отдает CFile::GetFileArray.

```
use Prokl\BitrixAnnotatedResolversBundle\Annotation\BitrixFile;
use Prokl\BitrixAnnotatedResolversBundle\ArgumentsResolver\Services\BitrixFileParam;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;

class SampleControllerBitrixFile extends AbstractController
{
    /**
     * Параметры аннотации необязательны!
     *
     * @param BitrixFileParam $file
     * @return JsonResponse $content
     * @BitrixFile(
     *    var="file"
     * )
     */
    public function action(
        BitrixFileParam $file
    ): JsonResponse {

        return new JsonResponse([
            'url' => $file->url()
        ]);
    }
}
```

2. **BitrixFileUrl**

В action контроллера будет лежать URL файла при запросе вида /route?file=7. Где 7 - битриксовый ID файла.

```
use Prokl\BitrixAnnotatedResolversBundle\Annotation\BitrixFileUrl;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;

class SampleControllerBitrixFileUrl extends AbstractController
{
    /**
     * Параметры аннотации необязательны!
     *
     * @param string $file
     * @return JsonResponse $content
     * @BitrixFileUrl(
     *    var="file"
     * )
     */
    public function action(
        string $file
    ): JsonResponse {

        return new JsonResponse([
            'url' => $file
        ]);
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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 ~13 days

Recently: every ~28 days

Total

10

Last Release

1737d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.1

1.0.9PHP &gt;=7.3 || ~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9210c86ee6734e537eaf22c0f2fe7a965451e340e39e1aae2b74013f24c2660d?d=identicon)[gedovan](/maintainers/gedovan)

---

Top Contributors

[![ProklUng](https://avatars.githubusercontent.com/u/19857467?v=4)](https://github.com/ProklUng "ProklUng (17 commits)")

---

Tags

bitrixbitrix-symfonyphp7symfony-bundle

### Embed Badge

![Health badge](/badges/proklung-bitrixannotatedresolversbundle/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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