Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ijackua/yii2-sharelinks-widget
Yii2 widget for popular social networks "share link" generation
https://github.com/ijackua/yii2-sharelinks-widget
Last synced: 17 days ago
JSON representation
Yii2 widget for popular social networks "share link" generation
- Host: GitHub
- URL: https://github.com/ijackua/yii2-sharelinks-widget
- Owner: iJackUA
- License: mit
- Created: 2014-03-15T16:55:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-24T13:30:06.000Z (about 8 years ago)
- Last Synced: 2024-10-09T22:17:30.419Z (28 days ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 12
- Watchers: 7
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
yii2-sharelinks-widget
======================Yii2 widget for popular social networks "share link" generation
## 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
add to `require` section of your `composer.json`
`"ijackua/yii2-sharelinks-widget": "dev-master"`
and run composer update## Usage Example
in template file use
~~~php
'@app/views/mypath/shareLinks.php' //custom view file for you links appearance
]
); ?>
~~~## 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
~~~php
~~~