PHP code example of brunocfalcao / blade-feather-icons
1. Go to this page and download the library: Download brunocfalcao/blade-feather-icons library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
brunocfalcao / blade-feather-icons example snippets
{!! svg('feathericon-heart', 'w-6 h-6 text-red-500') !!}
{!! svg('feathericon-star', ['class' => 'w-6 h-6', 'style' => 'color: gold']) !!}
bash
php artisan vendor:publish --tag=blade-feather-icons --force
bash
php artisan feathericons:sync
bash
php artisan feathericons:sync --dry-run