PHPackages                             daxslab/yii2-sharelinks-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. daxslab/yii2-sharelinks-widget

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

daxslab/yii2-sharelinks-widget
==============================

Yii2 widget for popular social networks 'share link' generation

1.0.1(6y ago)1763↓100%MITPHP

Since Jan 6Pushed 6y ago3 watchersCompare

[ Source](https://github.com/daxslab/yii2-sharelinks-widget)[ Packagist](https://packagist.org/packages/daxslab/yii2-sharelinks-widget)[ Docs](https://github.com/daxslab/yii2-sharelinks-widget)[ RSS](/packages/daxslab-yii2-sharelinks-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

yii2-sharelinks-widget
======================

[](#yii2-sharelinks-widget)

Yii2 widget for popular social networks "share link" generation. Based on .

Supported Social Networks
-------------------------

[](#supported-social-networks)

- [Facebook](http://facebook.com)
- [Twitter](http://twitter.com)
- [Google+](http://plus.google.com)
- [Vkontakte](http://vk.com)
- [LinkedIn](http://linkedin.com)
- [Send to Kindle](http://fivefilters.org/kindle-it)

Installation via Composer
-------------------------

[](#installation-via-composer)

add to `require` section of your `composer.json``"daxslab/yii2-sharelinks-widget": "*"`and run composer update

Usage Example
-------------

[](#usage-example)

in template file use

```

```

Example custom view file
------------------------

[](#example-custom-view-file)

This eaxmple uses custom icons from Fontello, but you can make it what ever you want and customize what links do you need and what not. Your `@app/views/mypath/shareLinks.php` file could look like

```
