How to change your Laravel site favicon

<1 minute read

Remember that Laravel is serving files from the /public directory as root, not the project directory.

Setting up the favicon is a two step process:

Add this code to your layout page:

< link rel="shortcut icon" href="{{ asset('favicon.ico') }}" >

Then put your favicon in the sites subdirectory

\public

It might take a bit of time to appear on refresh.