PHPackages                             iulyanp/elixir-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. iulyanp/elixir-bundle

Abandoned → [iulyanp/elixir-bundle](/?search=iulyanp%2Felixir-bundle)Symfony-bundle

iulyanp/elixir-bundle
=====================

A Symfony bundle that integrates Laravel Elixir

v1.0.3(9y ago)51.5kMITPHPPHP ^5.6|^7.0

Since Aug 20Pushed 9y ago2 watchersCompare

[ Source](https://github.com/iulyanp/elixir-bundle)[ Packagist](https://packagist.org/packages/iulyanp/elixir-bundle)[ RSS](/packages/iulyanp-elixir-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

[![Build Status](https://camo.githubusercontent.com/3f1aac9a898f9b0fe98295f31e2741e609b6adbd600afc0afa9e75fedfc58773/68747470733a2f2f7472617669732d63692e6f72672f69756c79616e702f656c697869722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/iulyanp/elixir-bundle)[![StyleCI](https://camo.githubusercontent.com/412dc70d6af83b4c21a1f9f2756a0a4a2ed922778f43a4dafbd016d11d8564d3/68747470733a2f2f7374796c6563692e696f2f7265706f732f36363135363635312f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/66156651)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5798014c1a38ba419c21fd943a8665230654eb5873174d99f63e9c03cc7e9a2d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69756c79616e702f656c697869722d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/iulyanp/elixir-bundle/?branch=master)

ElixirBundle
============

[](#elixirbundle)

`ElixirBundle` is a [Symfony](http://symfony.com/) bundle that integrates [Laravel Elixir](https://github.com/laravel/elixir). The purpose of the bundle is to offer elixr() twig function. This is exactly the same elixir() function from [Laravel](https://laravel.com) blade templating system.

### Requirements

[](#requirements)

Before you start installing this bundle you must first ensure that Node.js is installed on your machine. Next, you'll want to install NPM and pull in Gulp as a global NPM package.

Installation
------------

[](#installation)

### Step 1: Require the bundle with composer

[](#step-1-require-the-bundle-with-composer)

Open your terminal and run one of the following commands to download the bundle into your vendor directory.

If you have composer installed globally you can run:

```
$ composer require iulyanp/elixir-bundle

```

Else you can go with:

```
$ php composer.phar require iulyanp/elixir-bundle

```

### Step 2: Register the bundle in your AppKernel class

[](#step-2-register-the-bundle-in-your-appkernel-class)

Register the bundle in the app/AppKernel.php file of your project:

```
