Add pretty favicons to your Laravel application on the fly
This package can be used to quickly generate customized and high-quality favicons for your Laravel application. The images are generated on the fly for different platforms and display resolutions. Usage is super simple and just requires including a view in your templates (see below).
Please note that this package is based on beyondcode/laravel-favicon but serves a completely different purpose.
You can install the package via composer:
composer require lukasmu/laravel-favicon
To add the icons to your site include the view
favicon::head in the head section of your blade view(s).
<!doctype html> <html> <head> <title>Example</title> @include('favicon::head') ... </head> <body> ... </body> </html>
You can publish the config file with:
php artisan vendor:publish --provider="LukasMu\Favicon\FaviconServiceProvider" --tag="config"
Feel free to set the appropriate environmental variables (or edit the config file) in order to customize the favicons.
You can run all tests via composer as well:
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
You are free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown. The address is: Lukas Müller, Dirklangendwarsstraat 5, 2611HZ Delft, The Netherlands.
The MIT License (MIT). Please see LICENSE for more information.