Last active
July 8, 2024 06:32
-
-
Save neverything/a9fa57e871add54eaa79108e9fd8b6f1 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 | |
namespace App\Providers; | |
use App\FaviconFetcher\Drivers\UnavatarServices; | |
use AshAllenDesign\FaviconFetcher\Facades\Favicon; | |
use Illuminate\Support\ServiceProvider; | |
class AppServiceProvider extends ServiceProvider | |
{ | |
public function register(): void | |
{ | |
Favicon::extend('unavatar-services', new UnavatarServices()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment