| Package Data | |
|---|---|
| Maintainer Username: | carlosrgzm |
| Maintainer Contact: | carloscsrm@gmail.com (Carlos Rodríguez) |
| Package Create Date: | 2015-01-21 |
| Package Last Update: | 2015-02-01 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-03 15:14:33 |
| Package Statistics | |
|---|---|
| Total Downloads: | 10 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
Plugin for Laravel 4 just to share content in Facebook and Twitter
carloscsrm/sharelaravel to composer.json."carloscsrm/sharelaravel": "dev-master"
Run composer update to pull down the latest version of Share-Laravel.
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
Run php artisan config:publish carloscsrm/sharelaravel and modify the config file with your own information.
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')) }}