carloscsrm/sharelaravel

Share content in Facebook and Twitter
10
Install
composer require carloscsrm/sharelaravel
PHP:>=5.4.0
License:MIT
Last Updated:Feb 1, 2015
Links: GitHub  ·  Packagist
Maintainer: carlosrgzm

share-laravel

Plugin for Laravel 4 just to share content in Facebook and Twitter

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License

Installation

  1. Add carloscsrm/sharelaravel to composer.json.

"carloscsrm/sharelaravel": "dev-master"

  1. Run composer update to pull down the latest version of Share-Laravel.

  2. Now open up app/config/app.php and add the service provider to your providers array.

'providers' => array( 'Carloscsrm\Sharelaravel\SharelaravelServiceProvider', ),

The Alias is automatically added by the system, you don't need add it manually. The alias is Sharelaravel

Configuration

Run php artisan config:publish carloscsrm/sharelaravel and modify the config file with your own information.

Usage

For using this package you can add this code in your templates

{{Sharelaravel::render($your_url, array('twitterVia'=>'your_twitter_account', 'textToShare'=>'Your text for twitter')) }}

Related Packages

hamzahassanm/laravel-social-auto-post

Laravel social media auto post package - Complete solution for posting to 8 majo...

455 14
ryannielson/shareable

A Laravel 4 package to make it easy to add social sharing buttons to your applic...

2,771 22
potelo/shareable

A Laravel 4 package to make it easy to add social sharing buttons to your applic...

11,187 1
mannysoft/shareable

A Laravel 4 package to make it easy to add social sharing buttons to your applic...

32 0
despark/laravel-social-feeder

Social feeder for laravel. With this you can get feed from facebook page, twitte...

134 13