webup / share-links
Generate share links easily
v1.0.0
2016-04-13 17:14 UTC
Requires (Dev)
- phpunit/phpunit: ^4.5
This package is not auto-updated.
Last update: 2024-11-21 01:58:33 UTC
README
Install
$ composer require webup/share-links
Examples
<?php require_once 'vendor/autoload.php'; use Webup\ShareLinks\ShareLinks; echo ShareLinks::twitter('http://example.com', 'text to share', 'hashtag1,hashtag2'); echo ShareLinks::facebook('http://example.com'); echo ShareLinks::googleplus('http://example.com'); echo ShareLinks::linkedin('http://example.com', 'title', 'summary', 'source'); echo ShareLinks::email('name@example.com', 'subject', 'body');
License
The MIT License (MIT). Please see License File for more information