ql / fontawesome-bundle
FontAwesome Bundle for Symfony2
Installs: 176
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Language:CSS
Type:symfony-bundle
Requires
- php: >=5.3.3
- symfony/framework-bundle: >=2.2
This package is not auto-updated.
Last update: 2018-01-02 07:24:46 UTC
README
Current Version
Font Awesome 3.2.1 - Created & Maintained by Dave Gandy
Installation
Add bundle to your composer.json file
// composer.json { "require": { // ... "ql/fontawesome-bundle": "*" } }
Add bundle to your application kernel
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Ql\FontAwesomeBundle\QlFontAwesomeBundle(), // ... ); }
Download the bundle using Composer and Install assets
$ php composer.phar update ql/fontawesome-bundle $ php app/console assets:install --symlink web
Use the --symlink
attribute to create links rather than copies of the resources
Usage
Easy Bootstrap + Font Awesome Integration
head
section in your template, e.g.
<link rel="stylesheet" type="text/css" href="{{ asset('..Your/Bootstrap/css..') }}" /> <link rel="stylesheet" type="text/css" href="{{ asset('bundles/qlfontawesome/css/font-awesome.min.css') }}" />