ladela/jquery-ui-bundle

jQuery UI bundle for Symfony2

Installs: 28

Dependents: 0

Stars: 1

Watchers: 1

Language: CSS

v1.11.0 2014-06-27 13:29 UTC

README

jQuery UI Version

1.11.0

Installation

Add bundle to your composer.json file

// composer.json

{
    "require": {
        // ...
        "ladela/jquery-ui-bundle": "1.11.0"
    }
}

Add bundle to your application kernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Ladela\JQueryUIBundle\LadelaJQueryUIBundle(),
        // ...
    );
}

Download the bundle using Composer

$ php composer.phar update ladela/jquery-ui-bundle

Install assets

$ php app/console assets:install --symlink web

Usage

<link rel="stylesheet" href="{{ asset('bundles/ladelajqueryui/css/ui-lightness/jquery-ui.min.css') }}" />
<script src="{{ asset('bundles/ladelajquery/js/jquery.min.js') }}"></script>
<script src="{{ asset('bundles/ladelajqueryui/js/jquery-ui.min.js') }}"></script>

License

MIT

References

  1. http://jqueryui.com
  2. http://symfony.com