PHP code example of eminos / statamic-favicons

1. Go to this page and download the library: Download eminos/statamic-favicons 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/ */

    

eminos / statamic-favicons example snippets


return [
    'partial' => resource_path('views/partials/favicons.antlers.html'),
    'data' => resource_path('favicons.json'),
    'debug_missing_comment' => true,
];
bash
php artisan vendor:publish --tag=statamic-favicons-config