maalls / tweet-entities
There is no license information available for the latest version (v2.0.0) of this package.
v2.0.0
2018-02-23 02:55 UTC
Requires
- maalls/og-tag-scraper: ^1.1
Requires (Dev)
- phpunit/phpunit: ^7
This package is not auto-updated.
Last update: 2025-02-16 07:17:59 UTC
README
composer require maalls/tweet-entities
Example
Parse tweet message and include URL informations (title, description, image) from OG Tags.
$tweetEntities = new Maalls\TweetEntities(); $entities = $this->create("@someone this is a #tweet with url http://someurl.com");
Only parse tweet.
$entities = $tweetEntities->parse("@someone this is a #tweet with url http://someurl.com", true);
Test
run:
./vendor/bin/phpunit tests/