Skip to content

1cool/spider-icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

image

  • 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