rugaard / meta-scraper
Scrape URL's for meta data, like Open Graph, Twitter Cards and more.
Installs: 1 168
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ~6.0
- tightenco/collect: ^5.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.0
- phpunit/phpunit: ~5.0
This package is auto-updated.
Last update: 2024-10-16 17:51:39 UTC
README
📝 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 systemsphp.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