nojimage/twitter-text-php (packagist): A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.
Keywords: text|twitter|extract|autolink|extract-text|hashtag|php-library