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

Installs: 1 628

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 6

Forks: 0

Open Issues: 0

Language:CSS

1.7 2021-11-03 12:07 UTC

This package is auto-updated.

Last update: 2021-11-03 12:10:49 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

References

  1. http://lipis.github.io/flag-icon-css/