Fetch details from other websites, like title, description, language, keywords, ...
Open Issues: 1
- php: ^7.1
- mockery/mockery: ^1.0
- orchestra/testbench: ~3.5.0|~3.6.0
- phpunit/phpunit: ~6.0.0|~7.0.0
This package is auto-updated.
Last update: 2023-05-29 01:22:53 UTC
Just a small package to fetch details from other websites, like title, description, language, keywords, ...
$ composer require hamburgscleanest/laravel-fetch-site-details
Automatic Package Discovery
Everything is automatically registered for you.
/** @var hamburgscleanest\LaravelFetchSiteDetails\Models\Site $website */ $website = LaravelSiteDetails::fetch('https://www.reddit.com/');
The following information is available:
The title of the website.
echo $website->title; // 'reddit: the front page of the internet'
The website's description.
echo $website->description; // 'reddit: the front page of the internet'
Meta keywords that were defined for the website.
echo $website->keywords; // ['reddit', 'reddit.com', 'vote', 'comment', 'submit']
The language of the website.
echo $website->language; // 'en'
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.