SHARE

MagicPHP – Multi-purpose PHP Classes Free Download

Now Facebook and Twitter login!

MagicPHP is a single-file multipurpose PHP class. There are also two other classes inside the file, MagicImage for image manipulation, MagicFacebook for easily using the facebook API, MagicTwitter for easily using the twitter API and MagicZip for zip archive creation. With 82 functions, MagicPHP will make your life as a developer much easier!

The list of functions are as follows:

MagicPHP

  1. Get Currency
  2. Shorten URL with TinyURL
  3. Get Location from IP
  4. Convert Currency
  5. Convert Temperature
  6. Get Weather at Location
  7. Get Alexa Rank
  8. Format price
  9. Instantiate Filter
  10. Add words to filter
  11. Remove words from filter
  12. Filter string
  13. Sanitize input
  14. Unsanitize input
  15. IP blacklist
  16. Add to IP blacklist
  17. Remove from IP blacklist
  18. IP whitelist
  19. Add to IP whitelist
  20. Remove from IP whitelist
  21. Encode password
  22. Generate salt
  23. Generate random password
  24. Generate pin number
  25. Username validator
  26. Password validator
  27. Email validator
  28. IP validator
  29. Flood-check anti-spam
  30. Add to flood-check
  31. Truncate string
  32. Time ago (unix)
  33. Time ago (string)
  34. Format number
  35. Format date (unix)
  36. Format date (string)
  37. Get file extension
  38. Get gravatar URL from email
  39. File upload
  40. Clone a file from URL (uses cURL)
  41. Extract Zip File

MagicFacebook

  1. Get Login URL
  2. Get Access Token
  3. Get User Data
  4. Post Status Update
  5. Get Session
  6. Get Likes
  7. Get Friends data

MagicTwitter

  1. Connect
  2. Get Login Url
  3. Get Request Token
  4. Do Callback
  5. Get User Data

MagicImage

  1. Effects (11 to choose from)
  2. Add text
  3. Crop
  4. Resize
  5. Rotate
  6. Add new layer
  7. Get Image
  8. Collapse layers
  9. Draw Image

MagicZip

  1. Add files to Zip
  2. Add file to Zip
  3. Add empty directory to Zip
  4. Add entire directory to Zip
  5. Delete file from Zip
  6. Close Zip

Changelog

18th August 2015 – v1.1

 - Added Get Currency - Added Shorten URL with TinyURL - Added Get Location from IP - Added Convert Currency - Added Convert Temperature  - Added Get Weather at Location - Added Get Alexa Rank of Website 

 
   View Demo     Download

NO COMMENTS

LEAVE A REPLY