imanilchaudhari/yii2-social-share This is a social share bar for yii2 projects.

Yii2 social share- A beautiful social share buttons for yii2.

  1. Installation
  2. Usage
  3. About

This is a social share buttons for yii2 projects.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist imanilchaudhari/yii2-social-share "dev-master"

or add

"imanilchaudhari/yii2-social-share": "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\socialshare\ShareButton::widget([
        'style'=>'horizontal',
        'networks' => ['facebook','googleplus','linkedin','twitter'],
		'data_via'=>'imanilchaudhari', //twitter username (for twitter only, if exists else leave empty)
]); ?>

About

This is a replica of SocialShareButton by Yii Expert.

0 0
1 follower
1 227 downloads
Yii Version: 2.0
License: MIT
Category: Others
Tags:
Developed by: Anil Chaudhari
Created on: Apr 15, 2018
Last updated: (not set)
Packagist Profile
Github Repository