aboustayyef / previewer
takes a url and returns title, image, excerpt and content
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/aboustayyef/previewer
Requires
- symfony/css-selector: 2.5.*
- symfony/dom-crawler: 2.5.*
Requires (Dev)
- phpspec/phpspec: 2.2.*
This package is not auto-updated.
Last update: 2025-10-11 21:43:36 UTC
README
#Previewer for URLs
This class takes a url as input and outputs a Title, a Description and an Image for that url
##Usage
<?php
use Aboustayyef\Previewer;
$previewer = new Previewer('http://url.goes/here');
$title = $previewer->getTitle();
$description = $previewer->getDescription();
$image = $previewer->getImage();
?>