A PHP package to generate share links easily
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
tests
.gitignore
.travis.yml
README.md
composer.json
composer.lock
phpunit.xml

README.md

Share Links

Build Status

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