alchemy / phraseanet-bundle
Phraseanet API Symfony bundle
Installs: 10 393
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 8
Forks: 4
Open Issues: 1
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-10-09 06:39:42 UTC
README
Description
Provides a Symfony bundle for easy integration of the Phraseanet PHP SDK in your applications
Installation
composer require alchemy/phraseanet-bundle
Configuration
Using the bundle, you can define one or more Phraseanet instances. Each instance is exposed as an entity manager.
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