jrswgtr/urlpreview

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHP package to load a preview of a URL. Including title, description and image

dev-master 2018-10-31 19:32 UTC

This package is auto-updated.

Last update: 2018-11-02 16:21:41 UTC


README

A small PHP library to scrape URL preview data.

Including

  • title
  • description
  • image url

Installation

To add to your existing composer project

composer require jrswgtr/urlpreview

To edit the package

git clone git@bitbucket.org:jrswgtr/urlpreview.git

Usage

For usage examples, see the demo directory.

Run the demo's

clone the project

git clone git@bitbucket.org:jrswgtr/urlpreview.git

enter the directory

cd urlpreview

install project

composer install

start web server

php -S localhost:8000 -t demo/

Now you can run the demo's at: