Download the PHP package ludovicm67/url-explorer without Composer
On this page you can find all versions of the php package ludovicm67/url-explorer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ludovicm67/url-explorer
More information about ludovicm67/url-explorer
Files in ludovicm67/url-explorer
Download ludovicm67/url-explorer
More information about ludovicm67/url-explorer
Files in ludovicm67/url-explorer
Vendor ludovicm67
Package url-explorer
Short Description Get all informations you need from an URL
License MIT
Package url-explorer
Short Description Get all informations you need from an URL
License MIT
Please rate this library. Is it a good library?
Informations about the package url-explorer
URL Explorer
Get all informations you need from an URL
Installation
Just run the following command : composer require ludovicm67/url-explorer
to add it to your PHP project!
How to use it?
Running the following code :
will give you something like :
What can I get for informations?
You can get by default all the following informations from a URL:
code
: the HTTP code from the requesttitle
: the title of the pagedescription
: the webpage descriptionimg
: an image representing the webpage; if equalsnull
, no image available, else it will give you :url
: the url of the imagewidth
: the width of the imageheight
: the height of the imagemime
: the mime type of the image
type
: the type of card to display. It can have the following values :image
: the URL is an imagenone
: no information foundbasic
: only a title and maybe a description was found (no image)small
: an image was found, but it's smalllarge
: if the image has a width >= 400 and height >= 200
url
: here are some useful URL:request
: the URL used for the requestfinal
: the final URL, after some redirectionsbase
: the hostname of the final URL
updated
: the time at the UTC timezone when the informations were fetched (can be useful if you cache the results somewhere)
All versions of url-explorer with dependencies
PHP Build Version
Package Version
The package ludovicm67/url-explorer contains the following files
Loading the files please wait ....