PHPackages                             dbp/relay-core-connector-textfile-bundle - 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. dbp/relay-core-connector-textfile-bundle

ActiveSymfony-bundle[API Development](/categories/api)

dbp/relay-core-connector-textfile-bundle
========================================

A template bundle for the Relay API gateway

v0.1.15(5mo ago)010.9k[1 issues](https://github.com/digital-blueprint/relay-core-connector-textfile-bundle/issues)AGPL-3.0-or-laterPHPPHP &gt;=8.2CI passing

Since Nov 3Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/digital-blueprint/relay-core-connector-textfile-bundle)[ Packagist](https://packagist.org/packages/dbp/relay-core-connector-textfile-bundle)[ RSS](/packages/dbp-relay-core-connector-textfile-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (16)Versions (18)Used By (0)

DbpRelayCoreConnectorTextfileBundle
===================================

[](#dbprelaycoreconnectortextfilebundle)

[GitHub](https://github.com/digital-blueprint/relay-core-connector-textfile-bundle) | [Packagist](https://packagist.org/packages/dbp/relay-core-connector-textfile-bundle)

The core\_connector\_textfile bundle provides an implementation of the `AuthorizationDataProviderInterface`which retrieves user attributes used for access control from the bundle's config file.

Bundle installation
-------------------

[](#bundle-installation)

You can install the bundle directly from [packagist.org](https://packagist.org/packages/dbp/relay-core-connector-textfile-bundle).

```
composer require dbp/relay-core-connector-textfile-bundle
```

Integration into the Relay API Server
-------------------------------------

[](#integration-into-the-relay-api-server)

- Add the bundle to your `config/bundles.php` in front of `DbpRelayCoreBundle`:

```
...
Dbp\Relay\CoreConnectorTextfileBundle\DbpRelayCoreConnectorTextfileBundle::class => ['all' => true],
Dbp\Relay\CoreBundle\DbpRelayCoreBundle::class => ['all' => true],
];
```

If you were using the [DBP API Server Template](https://github.com/digital-blueprint/relay-server-template)as template for your Symfony application, then this should have already been generated for you.

- Run `composer install` to clear caches

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

[](#configuration)

User authorization attributes can be defined using the bundle config. For this create `config/packages/dbp_relay_core_connector_textfile.yaml`.

Here is an example config file:

```
dbp_relay_core_connector_textfile:
  # used to define groups used for the attribute mapping
  groups:
    - name: DEVELOPERS
      users:
        - junior
        - senior

  # used to declare available attributes
  attributes:
    - name: ROLE_DEVELOPER
      default_value: false # default value: 'null' for scalar and '[]' for array attributes
    - name: ORGANIZATION_UNITS
      array: true # default value: 'false'

  # used to define values for the attributes
  # each mapping entry specifies a value for an attribute for one or many users and/or groups
  attribute_mapping:
    - name: ROLE_DEVELOPER
      groups:
        - DEVELOPERS
      value: true
    - name ORGANIZATION_UNITS
      groups:
        - DEVELOPERS
      values:
        - 1
        - 2
    - name ORGANIZATION_UNITS
      users:
        - foo
      values:
        - 3
```

If you were using the [DBP API Server Template](https://gitlab.tugraz.at/dbp/relay/dbp-relay-server-template)as template for your Symfony application, then the configuration file should have already been generated for you.

For more info on bundle configuration see .

Development &amp; Testing
-------------------------

[](#development--testing)

- Install dependencies: `composer install`
- Run tests: `composer test`
- Run linters: `composer run lint`
- Run cs-fixer: `composer run cs-fix`

Bundle dependencies
-------------------

[](#bundle-dependencies)

Don't forget you need to pull down your dependencies in your main application if you are installing packages in a bundle.

```
# updates and installs dependencies of dbp/relay-core-connector-textfile-bundle
composer update dbp/relay-core-connector-textfile-bundle
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance80

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.1% 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 ~75 days

Recently: every ~150 days

Total

16

Last Release

151d ago

PHP version history (4 changes)v0.1.0PHP &gt;=7.3

v0.1.5PHP &gt;=7.4

v0.1.8PHP &gt;=8.1

v0.1.13PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/116099192?v=4)[dbp-deploy](/maintainers/dbp-deploy)[@DBP-deploy](https://github.com/DBP-deploy)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (255 commits)")[![lazka](https://avatars.githubusercontent.com/u/991986?v=4)](https://github.com/lazka "lazka (112 commits)")[![tobiasgv](https://avatars.githubusercontent.com/u/122861711?v=4)](https://github.com/tobiasgv "tobiasgv (13 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dbp-relay-core-connector-textfile-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dbp-relay-core-connector-textfile-bundle/health.svg)](https://phpackages.com/packages/dbp-relay-core-connector-textfile-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[sulu/headless-bundle

Bundle that provides controllers and services for using Sulu as headless content management system

55133.7k2](/packages/sulu-headless-bundle)

PHPackages © 2026

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