When building websites you most likely have social share buttons on your pages, adding them can be a repetitive task. This Laravel share package solves this issue.
After following the installation instructions you can add social share buttons to your page like this.
Share::page('http://blog.jorenvanhocht.be')->facebook();
You can generate one share link, but you can also generate all available services at once, just by chaining the service names.
Share::page('http://jorenvanhocht.be', 'Share title') ->facebook() ->twitter() ->googlePlus() ->linkedin('Extra linkedin summary can be passed here');
At the time of this writing the following services are available:
- Google Plus
The source code can be found on Github and the package is installable through composer.