rugaard/meta-scraper

Scrape URL's for meta data, like Open Graph, Twitter Cards and more.

dev-master 2017-01-22 14:49 UTC

This package is auto-updated.

Last update: 2024-10-16 17:51:39 UTC


README

Build status Codecov status StyleCI status Latest Stable version License

📝 Introduction

Meta scraper is a package, that makes it easy to parse an URL and extract all the delicious meta data, that's usually hidden within the source.

This package also adds support for automatically parsing of Open Graph, Twitter Cards and Facebook Insights. You can also implement your own parser to parse custom namespaces.

⚠️ Requirements

  • PHP 7.0+
  • cURL 7.19.4+ (with OpenSSL and zlib) or make sure your allow_url_fopen is enabled in your systems php.ini

📦 Installation

The recommended way to install this package is through Composer, by using the following command:

composer require rugaard/meta-scraper

Alternatively, you can add the package by editing your projects existing composer.json file:

 {
   "require": {
      "rugaard/meta-scraper": "dev-master"
   }
}

and then afterwards update Composers dependencies by using the following command:

composer update

⚙️ Usage

TODO: Write instructions

🚓 License

Meta scraper is open-sourced software licensed under the MIT license