PHPackages                             acplo/acploui - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. acplo/acploui

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

acplo/acploui
=============

AcploUi provides some UI utility classes your ZF2 application using Jquery2, Bootstrap3, Chosen, etc

1.0.0(11y ago)046BSD-3-ClausePHPPHP &gt;=5.4.0

Since May 5Pushed 11y ago2 watchersCompare

[ Source](https://github.com/acplo/AcploUi)[ Packagist](https://packagist.org/packages/acplo/acploui)[ Docs](http://github.com/Acplo/AcploUi)[ RSS](/packages/acplo-acploui/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

AcploUi
=======

[](#acploui)

[![Latest Stable Version](https://camo.githubusercontent.com/ef32aa5cc04b3570abeab35f063046e98a8955be17185b27ddea6fd531cbc136/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f75692f762f737461626c65)](https://packagist.org/packages/acplo/acploui) [![Total Downloads](https://camo.githubusercontent.com/da1790afb8c047092feabb9249b167e9b95b767a1f272230eabad513b496595c/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f75692f646f776e6c6f616473)](https://packagist.org/packages/acplo/acploui) [![Latest Unstable Version](https://camo.githubusercontent.com/c2b1e5cc9122987e9695d5806d8b98b94dd9458673aa9d1e560ae5728940e8c6/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f75692f762f756e737461626c65)](https://packagist.org/packages/acplo/acploui) [![License](https://camo.githubusercontent.com/b9ddd4934a2084c87f8f69027751d5f4725b39fd0c481a583a0aff280d0cb935/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f75692f6c6963656e7365)](https://packagist.org/packages/acplo/acploui)

Introduction
------------

[](#introduction)

This module provides a shortcut to several UI resources from some of the best front frameworks. I will add more libraries with time and add more resources to the current ones.

- Jquery: 2.1.3 [jquery.com](http://jquery.com)
- Bootstrap: 3.3.4 [getbootstrap.com](http://getbootstrap.com)
- Font Awesome: 4.3.0 [fortawesome.github.io](http://fortawesome.github.io/Font-Awesome/)
- Chosen: 1.4.1
- MomentJs: 2.9.0

The ideia is to facilitate the front development. You do not need to worry about download individually each library, control their versions, so on. Refer to the Usage bellow.

Requirements
------------

[](#requirements)

- PHP 5.4 or greater
- Zend Framework 2 [framework.zend.com](http://framework.zend.com/).
- AssetManager from rwoverdijk [rwoverdijk/assetmanager](https://github.com/RWOverdijk/AssetManager)
- Any library above

Instalation
-----------

[](#instalation)

Instalation can be done with composer ou manually

### Installation with composer

[](#installation-with-composer)

For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

1. Enter your project directory
2. Create or edit your `composer.json` file with following contents:

    ```
    {
        "minimum-stability": "dev",
        "require": {
            "acplo/acploui": "1.*"
        }
    }
    ```
3. Run `php composer.phar install`
4. Open `my/project/directory/config/application.config.php` and add `AcploUi` to your `modules`

### Installation without composer

[](#installation-without-composer)

1. Clone this module [AcploUi](http://github.com/Acplo/AcploUi) to your vendor directory
2. Enable it in your config/application.config.php like the step 4 in the previous section.

Usage
-----

[](#usage)

This module provides two main View Helpers: AcploHeadLink and AcploHeadScript. You can safely replace the default ZF HeadLink and HeadScript with this ones to use their resources.

### Jquery

[](#jquery)

Jquery is provided as local files (default) or with CDN. Just pass "true" to the appendJquery method to use the CDN files. The second argument indicates the use of minified version (default) or not, while the third indicates a specific version of a CDN file.

Just add the following to your layout.phtml file:

```
