2015-01-18

PHP Recipe is a HUGE collection of must have PHP functions, packed with more than 45 methods. It’s developed as a class with static methods, To make integration to your existing code-base super simple, Just drop it in and start using it immediately.

Methods:

Method to get Website Favicon

Method to get QRcode

Method to get File Extension

Method to get Gravatar

Method to get Twitter Share Count

Method to get Facebook Share Count

Method to get Facebook Likes Count

Method to get Google Plus Share Count

Method to get Pinterest Share Count

Method to get LinkedIn Share Count

Method to Create Link Tag

Method to Validate Email

Method to Validate URL

Method to read Rss Feeds

Method to convert Object To Array

Method to convert Array To Object

Method to convert HEX color code to RGB

Method to convert RGB to HEX color code

Method to Generate Random Password

Method to Encode text (simple)

Method to Decode text (simple)

Method to Check if request Is Https

Method to Check if request Is Ajax

Method to Check if Number is Odd

Method to Check if Number is Even

Method to Get Current URL

Method to Get Client IP

Method to Check if request Is Mobile

Method to Get client’s Browser

Method to Get client’s Location

Method to convert Number To Word

Method to convert Seconds To Text

Method to convert Minutes To Text

Method to convert Hours To Text

Method to Shorten String

Simplified Curl

Method to Expand Short Url

Method to Get Alexa Rank for URL

Method to Get Google PageRank for URL

Method to Get Tiny URL

Method to Get Keyword Suggestions From Google

Method to Search Wikipedia

Method to Build Notifications

Method to Auto Embed from youtube.com, blip.tv, vimeo.com, dailymotion.com, flickr.com, smugmug.com, hulu.com, revision3.com, wordpress.tv, funnyordie.com twitter.com, soundcloud.com, slideshare.net and instagram.com

Method to auto make Clickable Links

Method to Debug Variables

Show more