Text Helper (Miscellaneous)


Text Helper is a PHP helper class, use it to speed up your development. Currently it supports five major operations, and more features are coming.
You are welcome to leave comments on what functions you are looking for, I will try my best to add as many as possible.

  • autoEmail($text)
  • autoUrl($text)
  • truncate($text, $length=100, $end=’…’)
  • extractBetween($text,$start,$end)
  • toSlug($text)
  • stripTags($text,$tags)
  • stripImages($text)
  • stripScripts($text)
  • stripWhitespace($text)
  • noHtml($text)
  • html($text)

Document: coming soon

Download Text Helper (Miscellaneous)

Leave a Reply

Your email address will not be published. Required fields are marked *