btc / flagicon-bundle
This package is abandoned and no longer maintained.
The author suggests using the components/flag-icon-css package instead.
CSS for vector based country flags
1.7
2021-11-03 12:07 UTC
README
Installation
Add bundle to your composer.json file
// composer.json { "require": { // ... "btc/flagicon-bundle": "^1.0" } }
Add bundle to your application
// config/bundles.php return [ // ... BTC\FlagIconBundle\BTCFlagIconBundle::class => ['all' => true], // ... ];
Download the bundle using Composer
$ composer require btc/flagicon-bundle
Install assets
Given your server's public directory is named "public", install the public vendor resources
$ php bin/console assets:install public
Optionally, use the --symlink attribute to create links rather than copies of the resources
$ php bin/console assets:install --symlink public
Usage
Refer 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') }}" />
Licenses
Refer to the source code of the included files for license information