1cool / spider-icon
Spider the website's icon by url
1.1
2020-10-13 09:04 UTC
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.3
- symfony/dom-crawler: ^5.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-11 19:34:51 UTC
README
spider-icon
Spider the website's icon by url
Use tutorial
- install
composer require 1cool/spider-icon
- use guide
<?php use SpiderIcon\Spider; Spider::request('your url');
Result
- if the website don’t have icon,will return empty array
[] - if the website have icon, will return array
['type'=>'url','content'=>'url']
type means result type. it possible value: url and base64
content means result content. it possible value:icon's url and icon's base64