cedricziel / shariff-bundle
Symfony2 bundle for Heise Shariff
Fund package maintenance!
cedricziel
Installs: 732
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5.9
- heise/shariff: ~5.2.3
- symfony/framework-bundle: >=3.0.6
- twig/twig: ~1.23|~2.0
Requires (Dev)
- phpunit/phpunit: ^5.3
This package is auto-updated.
Last update: 2024-10-28 11:08:07 UTC
README
Forked from https://github.com/valiton/ShariffBundle
This bundle allows to easily integrate Shariff with your Symfony 2 application
Installation
Install the bundle with composer:
composer require cedricziel/shariff-bundle
and activate the bundle in your kernel.
Add the following to your app/config/routing.yml:
cedricziel_shariff:
resource: "@CedricZielShariffBundle/Resources/config/routing.xml"
prefix: /_shariff
Configuration
Configure the bundle according to your needs, full config example:
cedricziel_shariff:
domain: '<your-domain>'
force_protocol: ~ # http or https
cache:
cacheDir: '%kernel.cache_dir%'
ttl: 3600
adapter: 'Apc' # to use apc for caching,
client: # optinal guzzle settings
timeout: 4
connect_timeout: 2
services:
Facebook:
app_id: <your app id>
secret: <your secret>
GooglePlus: ~
Twitter: ~
License
MIT