Download the PHP package dbp/relay-core-connector-textfile-bundle without Composer
On this page you can find all versions of the php package dbp/relay-core-connector-textfile-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dbp/relay-core-connector-textfile-bundle
More information about dbp/relay-core-connector-textfile-bundle
Files in dbp/relay-core-connector-textfile-bundle
Package relay-core-connector-textfile-bundle
Short Description A template bundle for the Relay API gateway
License AGPL-3.0-or-later
Informations about the package relay-core-connector-textfile-bundle
DbpRelayCoreConnectorTextfileBundle
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
You can install the bundle directly from packagist.org.
Integration into the Relay API Server
- Add the bundle to your
config/bundles.php
in front ofDbpRelayCoreBundle
:
If you were using the DBP API Server Template as template for your Symfony application, then this should have already been generated for you.
- Run
composer install
to clear caches
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:
If you were using the DBP API 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 https://symfony.com/doc/current/bundles/configuration.html.
Development & Testing
- Install dependencies:
composer install
- Run tests:
composer test
- Run linters:
composer run lint
- Run cs-fixer:
composer run cs-fix
Bundle dependencies
Don't forget you need to pull down your dependencies in your main application if you are installing packages in a bundle.
All versions of relay-core-connector-textfile-bundle with dependencies
ext-json Version *
api-platform/core Version ^2.7.11 || ^3.2
dbp/relay-core-bundle Version ^0.1.168
symfony/framework-bundle Version ^5.4 || ^6.4
symfony/dependency-injection Version ^5.4 || ^6.4
symfony/http-kernel Version ^5.4 || ^6.4
symfony/config Version ^5.4 || ^6.4