Download the PHP package republique-et-canton-de-geneve/php-symfony-data-content-bundle without Composer
On this page you can find all versions of the php package republique-et-canton-de-geneve/php-symfony-data-content-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download republique-et-canton-de-geneve/php-symfony-data-content-bundle
More information about republique-et-canton-de-geneve/php-symfony-data-content-bundle
Files in republique-et-canton-de-geneve/php-symfony-data-content-bundle
Download republique-et-canton-de-geneve/php-symfony-data-content-bundle
More information about republique-et-canton-de-geneve/php-symfony-data-content-bundle
Files in republique-et-canton-de-geneve/php-symfony-data-content-bundle
Vendor republique-et-canton-de-geneve
Package php-symfony-data-content-bundle
Short Description Symfony bundle for GED tessi data content.
License Apache-2.0
Package php-symfony-data-content-bundle
Short Description Symfony bundle for GED tessi data content.
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package php-symfony-data-content-bundle
php-symfony-data-content-bundle
Symfony bundle for GED Tessi Data Content, REST API integration.
Requirements
- PHP >= 8.0
- Symfony >= 6.4 (for Symfony 5.4, see previous releases)
License Released under the Apache-2.0 license
Installation
The bundle is automatically enabled by Symfony Flex. If you don't use Flex, you'll need to enable it manually.
Configuration
Define the bundle configuration in your YAML files (e.g., config/packages/datacontent.yml):
Configuration Reference
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| checkSSL | bool | No | true |
Enable SSL certificate and host verification |
| applicationId | string | Yes | — | Application identifier |
| tenantId | string | No | 'admin' |
Tenant identifier |
| clientId | string | No | — | Client ID for token authentication |
| clientSecret | string | No | — | Client secret for token authentication |
| restUrl | string | Yes | — | GED REST API base URL |
| baseId | string | Yes | — | Document database base ID |
| timeout | int | No | 10 |
HTTP connection timeout in seconds |
| username | string | No | — | Username for OAuth password grant |
| password | string | No | — | Password for OAuth password grant |
| audience | string | No | — | OAuth audience for token request |
| tokenTimeout | int | No | 10 |
Token request timeout in seconds |
| tokenAuthSsoUrl | string | No | — | OAuth/SAML token endpoint URL |
Usage
Basic Usage
Authentication
The bundle supports OAuth grant type:
password: Uses username/password credentials for token acquisition.
Exceptions
| Exception | Description |
|---|---|
DataContentConfigException |
Missing required configuration parameters |
DataContentAuthenticationException |
Token authentication/refresh failed |
DataContentNotFoundException |
Document not found |
DataContentJsonException |
Invalid JSON payload |
DataContentRemoteException |
HTTP/network error |
Quality gate
Code coverage :
| Tool | Description |
|---|---|
| PHPUnit 13 | Unit and integration tests |
| PHPStan | Static analysis |
| PHP CS Fixer | Code style consistency |
| Rector 2.6 | Automated code modernization |
All versions of php-symfony-data-content-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
symfony/dependency-injection Version >=6.4
symfony/http-kernel Version >=6.4
symfony/config Version >=6.4
symfony/mime Version >=6.4
symfony/security-bundle Version >=6.4
symfony/http-client Version >=6.4
symfony/cache Version >=6.4
symfony/dependency-injection Version >=6.4
symfony/http-kernel Version >=6.4
symfony/config Version >=6.4
symfony/mime Version >=6.4
symfony/security-bundle Version >=6.4
symfony/http-client Version >=6.4
symfony/cache Version >=6.4
The package republique-et-canton-de-geneve/php-symfony-data-content-bundle contains the following files
Loading the files please wait ...