aboustayyef / previewer
takes a url and returns title, image, excerpt and content
dev-master
2015-05-27 20:08 UTC
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: 2024-11-09 17:35:21 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();
?>