alchemy / phraseanet-bundle
Phraseanet API Symfony 扩展包
0.2.12
2021-11-23 17:04 UTC
Requires
- ocramius/proxy-manager: ^1.0
- phraseanet/php-sdk: ^0.10
Requires (Dev)
- mikey179/vfsstream: ^1.5
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ^2.3
- symfony/symfony: ^2.7
This package is not auto-updated.
Last update: 2024-09-11 06:24:14 UTC
README
描述
为您的应用程序提供方便集成 Phraseanet PHP SDK 的 Symfony 扩展包
安装
composer require alchemy/phraseanet-bundle
配置
使用此扩展包,您可以定义一个或多个 Phraseanet 实例。每个实例都作为实体管理器公开。
phraseanet: default_instance: default instances: default: # Connection settings connection: client_id: PHRASEANET_APPLICATION_CLIENT_ID secret: PHRASEANET_APPLICATION_SECRET token: PHRASEANET_APPLICATION_TOKEN url: http://phraseanet-php55-nginx/ # Cache settings (available cache types: redis, memcached, array, file, none) cache: type: redis host: localhost port: 6379 validation: skip # Localized mappings to Phraseanet fields mappings: title: fr: Titre en: Title subtitle: fr: SousTitre en: SubTitle # Subdefinition mappings subdefinitions: low: preview medium: preview_X2 high: preview_X4 # Exposes the listed repositories in the container repositories: api.default.stories: story api.default.records: record