Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imanilchaudhari/yii2-rrssb
This is a responsive social bar widget for Yii2 projects.
https://github.com/imanilchaudhari/yii2-rrssb
Last synced: 10 days ago
JSON representation
This is a responsive social bar widget for Yii2 projects.
- Host: GitHub
- URL: https://github.com/imanilchaudhari/yii2-rrssb
- Owner: imanilchaudhari
- Created: 2015-09-09T14:44:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T07:45:08.000Z (6 months ago)
- Last Synced: 2024-08-07T20:16:27.380Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 155 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-yii2 - imanilchaudhari/yii2-rrssb
README
Yii2 rrssb - A responsive social share bar widget for Yii2.
===========================================================
This is a responsive social bar widget for Yii2 projects. They said "Ridiculously Responsive Social Sharing Buttons" to it.![alt tag](https://raw.githubusercontent.com/imanilchaudhari/yii2-rrssb/master/assets/rrssb-preview.gif)
Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist imanilchaudhari/yii2-rrssb "dev-master"
```or add
```
"imanilchaudhari/yii2-rrssb": "dev-master"
```to the require section of your `composer.json` file.
Usage
-----Once the extension is installed, simply use it in your code by :
```php
=\imanilchaudhari\rrssb\ShareBar::widget([
'title' => 'Title Content', // i.e. $model->title
'media' => 'image.jpg', // Media Content
'networks' => [
'Email',
'Facebook',
'Github',
'GooglePlus',
'Hackernews',
'LinkedIn',
'Pinterest',
'Pocket',
'Reddit',
'Tumblr',
'Twitter',
'Vk',
'Youtube'
]
]);
?>```
About
-------[Yii2-rrssb](https://github.com/imanilchaudhari/yii2-rrssb) is inspired by [RRSSB](https://github.com/kni-labs/rrssb).