maalls / tweet-entities
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/maalls/tweet-entities
Requires
- maalls/og-tag-scraper: ^1.1
Requires (Dev)
- phpunit/phpunit: ^7
This package is not auto-updated.
Last update: 2025-09-28 10:26:55 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/