rookmoot/metascrapper

Laravel package to get all the meta data from a URL

V1.2 2020-01-02 15:52 UTC

This package is auto-updated.

Last update: 2024-03-10 17:30:41 UTC


README

Laravel 6 package to get all the meta data from a URL.

It will first check the URL for it's Mime type.

Supports

  • Meta tags
  • Twitter tags
  • OpenGraph tags
  • Any other type of tag
  • Files (Image, Audio, Video)
  • Application Mime type

Installation

Via Composer

$ composer require hojabbr/metascrapper

Usage

use hojabbr\MetaScrapper\Facades\MetaScrapper;

return MetaScrapper::scrap("http://www.yahoo.com");

This will return an array of all the meta for the given URL.