yii2-rrssb This is a responsive social share bar widget for Yii2 projects.

  1. Installation
  2. Usage
  3. About

This is a responsive social share bar widget for Yii2 projects. They define it as "Ridiculously Responsive Social Sharing Buttons".

rrssb-preview.gif

Installation

The preferred way to install this extension is through composer.

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 :

<?=\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 is inspired by RRSSB.

0 0
4 followers
0 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Developed by: Anil Chaudhari
Created on: Sep 9, 2015
Last updated: 9 years ago

Related Extensions