PHP code example of outhebox / blade-flags
1. Go to this page and download the library: Download outhebox/blade-flags 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/ */
outhebox / blade-flags example snippets
bash
php artisan vendor:publish --tag=blade-flags-config
bash
php artisan vendor:publish --tag=blade-flags --force
blade
<img src="{{ asset('vendor/blade-flags/language-en.svg') }}" width="32" height="32"/>