dev-master
9999999-devShare content in Facebook and Twitter
MIT
The Requires
- php >=5.4.0
- illuminate/support 4.2.*
by Carlos RodrĂguez
laravel php facebook twitter share social network
Wallogit.com
2017 © Pedro PelĂĄez
Share content in Facebook and Twitter
Plugin for Laravel 4 just to share content in Facebook and Twitter, (*1)
Add carloscsrm/sharelaravel to composer.json., (*3)
"carloscsrm/sharelaravel": "dev-master", (*4)
Run composer update to pull down the latest version of Share-Laravel., (*5)
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)
Run php artisan config:publish carloscsrm/sharelaravel and modify the config file with your own information., (*9)
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)
Share content in Facebook and Twitter
MIT
laravel php facebook twitter share social network