PHP code example of erickcomp / laravel-lazy-blade-icons

1. Go to this page and download the library: Download erickcomp/laravel-lazy-blade-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/ */

    

erickcomp / laravel-lazy-blade-icons example snippets


return [
    'prefix' => 'icon:',            // <x-icon:fas-camera />
    'dynamic_keyword' => 'dynamic', // <x-icon:dynamic :is="$icon" />
    'stack' => 'bladeicons',        // @stack('bladeicons')
    'defer' => false,               // false | true | 'namespace'
];
bash
php artisan vendor:publish --tag=lazy-blade-icons