Spider the website's icon by url
- install
composer require 1cool/spider-icon
- use guide
<?php
use SpiderIcon\Spider;
Spider::request('your url');
- 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