nemesarial / fontawesome-bundle
FontAwesome 3.0 Bundle for Symfony2
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: >=2.1,<2.4
This package is not auto-updated.
Last update: 2025-02-01 15:54:30 UTC
README
Current Version
Font Awesome 3.1.1 - Created & Maintained by Dave Gandy
Installation
Add bundle to your composer.json file
// composer.json { "require": { // ... "nemesarial/fontawesome-bundle": "*" } }
Add bundle to your application kernel
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Nemesarial\FontAwesomeBundle\QlFontAwesomeBundle(), // ... ); }
Download the bundle using Composer and Install assets
$ php composer.phar update nemesarial/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') }}" />