thujohn / share-l4 Goto Github PK
View Code? Open in Web Editor NEWShare links with Laravel 4
License: MIT License
Share links with Laravel 4
License: MIT License
Can you use a wild card like lluminate/support: >=4.0.*
I can't add it to my laravel app because I'm on 4.0.*dev.
Thanks
Wonderful job by the way.
I think some of your other packages have this limitations as well.
Hi,
I took the liberty and add the function to share by email.
public function email(){
return 'mailto:?subject=Site: ' . $this->text . '&body=Check out this site ' . $this->link;
}
Easy line but with this it looks cleaner on the view.
Not really an issue, but i personally think its cleaner to return objects in my views rather than arrays.
Add (object) to Share.php, Line 29:
return (object)$return;
Now i can use
$sharelink = Share::load(URL::to('someurlhere'), $something->title)->services('facebook', 'twitter');
$sharelink->facebook;
$sharelink->twitter;
...
Personal preference but imo looks cleaner in your view!
In order to get pinterest to actually show an image, I had to add media= to the share url. Not really an issue, but you might want to include it in the next update.
I have og:image set also, which facebook and reddit seem to support.
Hi,
Please incorporate the title, description and thumb image support.
Thanks,
Vikash
Is there any plans to support Laravel 5?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.