2017 © Pedro PelĂĄez
 

library sharelaravel

Share content in Facebook and Twitter

image

carloscsrm/sharelaravel

Share content in Facebook and Twitter

  • Sunday, February 1, 2015
  • by carlosrgzm
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

share-laravel

Plugin for Laravel 4 just to share content in Facebook and Twitter, (*1)

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Installation

  1. Add carloscsrm/sharelaravel to composer.json., (*3)

    "carloscsrm/sharelaravel": "dev-master", (*4)

  2. Run composer update to pull down the latest version of Share-Laravel., (*5)

  3. Now open up app/config/app.php and add the service provider to your providers array., (*6)

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

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

Configuration

Run php artisan config:publish carloscsrm/sharelaravel and modify the config file with your own information., (*9)

Usage

For using this package you can add this code in your templates, (*10)

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

The Versions

01/02 2015

dev-master

9999999-dev

Share content in Facebook and Twitter

  Sources   Download

MIT

The Requires

 

by Carlos RodrĂ­guez

laravel php facebook twitter share social network