PHPackages                             locaine/lcn-include-assets-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. locaine/lcn-include-assets-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

locaine/lcn-include-assets-bundle
=================================

Include JS and CSS files in Symfony 2 as you did in Symfony 1 (use\_javascript/use\_stylesheet)

1.2.0(9y ago)12.5k1MITPHP

Since Feb 9Pushed 9y ago2 watchersCompare

[ Source](https://github.com/FaiblUG/LcnIncludeAssetsBundle)[ Packagist](https://packagist.org/packages/locaine/lcn-include-assets-bundle)[ RSS](/packages/locaine-lcn-include-assets-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (1)

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require locaine/lcn-include-assets-bundle "~1.1"
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding the following line in the `app/AppKernel.php`file of your project:

```
