The heise/shariff package needs a lot of dependencies. Use this plugin only if you really need it.
Handcrafted Installation
- Download Plugin
- Rename it to
Shariff
- Place it in your plugin directory
- Activate & install it through backend
Composer Installation
- Add code below to your
composer.json
- Activate & install it through backend
"require" : {
"dachcom-digital/shariff" : "*",
}
Create a shariff.php
in website/var/config/
<?php
return [
"domain" => "www.yourdomain.org",
"cache" => [
"ttl" => 0
],
"services" => [
"GooglePlus",
"Facebook"
]
];
<div class="shariff" data-theme="grey" data-service="['facebook']" data-backend-url="http://yourdomain.org/plugins/Shariff/proxy/listen/" data-url="<?=$this->urlHelper()->homeUrl()?>" data-lang="<?=$this->language?>" class="shariff"></div>
Copyright: DACHCOM.DIGITAL
For licensing details please visit LICENSE.md