// composer.json
{
"require": {
// ...
"btc/flagicon-bundle": "^1.0"
}
}// config/bundles.php
return [
// ...
BTC\FlagIconBundle\BTCFlagIconBundle::class => ['all' => true],
// ...
];$ composer require btc/flagicon-bundleGiven your server's public directory is named "public", install the public vendor resources
$ php bin/console assets:install publicOptionally, use the --symlink attribute to create links rather than copies of the resources
$ php bin/console assets:install --symlink publicRefer to the desired files in your HTML template, e.g.
<link rel="stylesheet" type="text/css" href="{{ asset('bundles/btcflagicon/css/flag-icon.min.css') }}" />Refer to the source code of the included files for license information