Skip to content

PHP SDK for running queries against the millions of icons provided by Iconfinder. Includes recursive searches.

License

Notifications You must be signed in to change notification settings

onassar/PHP-Iconfinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

PHP-Iconfinder

PHP SDK for running queries against the millions of icons provided by Iconfinder. Includes recursive searches.

Supports

  • Searches
  • SVG downloading

Requires

Sample Search

$client = new onassar\Iconfinder\Base();
$client->setAPIKey('***');
$client->setAPISecret('***');
$client->setLimit(10);
$client->setOffset(0);
$results = $client->search('love') ?? array();
print_r($results);
exit(0);

Sample Download

$client = new onassar\Iconfinder\Base();
$client->setAPIKey('***');
$client->setAPISecret('***');
$content = $client->getPath('/path/to/svg') ?? 'Could not load content';
echo $content;
exit(0);

About

PHP SDK for running queries against the millions of icons provided by Iconfinder. Includes recursive searches.

Topics

Resources

License

Stars

Watchers

Forks

Languages