2013/02/14: Take care of the smarter caching system introduced in version 0.2.0. Here is how to use the SocialShare PHP library to create custom Facebook, Twitter and Google Plus share buttons including the number of share. Installing the library The first step is to install SocialShare through the awesome Composer dependency manager. If you have…
Introducing the SocialShare PHP library
I’ve released a new PHP library allowing to retrieve the number of shares of URLs on popular social networks. It currently supports Facebook, Twitter, Google Plus / Plus One, Pinterest, LinkedIn and Scoop.it!. This library is also able to generate sharing links for these networks. The main advantages of this library over traditional JavaScript share…
Connection to a MS SQL Server from Symfony / Doctrine on Mac or Linux
Microsoft provides a SQL Server driver for PDO. Unfortunately, this driver only works on Windows. Linux and Mac OS X apps must use the FreeTDS compatibility layer: an open source implementation of the MS SQL Server protocol for Unix. It’s possible to connect a Symfony app to a SQL Server instance on Unix through FreeTDS but this involve to use a Doctrine…