Home > JirgnAssetsJQueryBundle

JirgnAssetsJQueryBundle

JirgnAssetsJQueryBundle is a project mainly written in JAVASCRIPT and PHP, it's free.

symfony2 wrapper bundle for jquery js framework

Installation

1. update deps file

Add the following lines to your deps file

[JirgnAssetsJQueryBundle]
    git=https://github.com/jirgn/JirgnAssetsJQueryBundle.git
    target=/bundles/Jirgn/Assets/JQueryBundle

2. trigger vendor update

use bin/vendors update command to get the repository

3. register namespaces

add following code to your app/autoload.php

$loader->registerNamespaces(array(
    ...
    'Jirgn'=> __DIR__.'/../vendor/bundles',
    ...
);

4. add bundle to kernel

add following code to your app/AppKernel.php::

public function registerBundles()
    {
    ...
    new Jirgn\Assets\JQueryBundle\JirgnAssetsJQueryBundle(),
}
Previous:first_app