btc / flagicon-bundle
CSS for vector based country flags
Installs: 1 638
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 0
Open Issues: 0
Language:CSS
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