Last active
July 8, 2024 06:31
-
-
Save neverything/d8e2612aa3cd297d43845d6e01488d2b to your computer and use it in GitHub Desktop.
Read the blog post: https://silvanhagen.com/writing/custom-driver-favicon-fetcher/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use AshAllenDesign\FaviconFetcher\Facades\Favicon; | |
// Returns my twitter avatar | |
Favicon::driver("unavatar-services") | |
->fetch("https://x.com/neverything"); | |
// Returns my github profile avatar | |
Favicon::driver("unavatar-services") | |
->fetch("https://github.com/neverything"); | |
// Returns my website favicon | |
Favicon::driver("unavatar-services") | |
->fetch("https://silvanhagen.com"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment