Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cedricziel/shariffbundle
https://github.com/cedricziel/shariffbundle
shariff symfony symfony-bundle
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cedricziel/shariffbundle
- Owner: cedricziel
- License: mit
- Created: 2016-05-13T09:09:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-16T09:06:38.000Z (about 8 years ago)
- Last Synced: 2024-10-11T20:05:20.315Z (25 days ago)
- Topics: shariff, symfony, symfony-bundle
- Language: PHP
- Size: 77.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shariff Symfony 2 Bundle
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/eda75d3b-c628-40d5-9033-55aaee034895/mini.png)](https://insight.sensiolabs.com/projects/eda75d3b-c628-40d5-9033-55aaee034895)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cedricziel/ShariffBundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/cedricziel/ShariffBundle/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/cedricziel/ShariffBundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/cedricziel/ShariffBundle/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/cedricziel/ShariffBundle/badges/build.png?b=master)](https://scrutinizer-ci.com/g/cedricziel/ShariffBundle/build-status/master)Forked from https://github.com/valiton/ShariffBundle
This bundle allows to easily integrate [Shariff](https://github.com/heiseonline/shariff-backend-php) 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: ''
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:
secret:
GooglePlus: ~
Twitter: ~
```# License
MIT