PHPackages                             zooxsmart/los-ui - 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. zooxsmart/los-ui

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

zooxsmart/los-ui
================

LosUi provides some UI utility classes your PHP application using Jquery, Bootstrap, Chosen, etc

1.0.1(2y ago)03.5kMITPHPPHP ~8.0.0 || ~8.1.0 || ~8.2.0

Since Oct 30Pushed 2y agoCompare

[ Source](https://github.com/zooxsmart/los-ui)[ Packagist](https://packagist.org/packages/zooxsmart/los-ui)[ Docs](http://github.com/Lansoweb/LosUi)[ RSS](/packages/zooxsmart-los-ui/feed)WikiDiscussions master Synced 1mo ago

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

LosUI
=====

[](#losui)

[![Build Status](https://camo.githubusercontent.com/442c38cf7352513d6a7fcc045c1d9cb2ce9457d95c26c9b3019302c81978f67e/68747470733a2f2f7472617669732d63692e6f72672f4c616e736f7765622f4c6f7355692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Lansoweb/LosUi) [![Latest Stable Version](https://camo.githubusercontent.com/6d84549ad5c6c25ac54ac30bb86beff452e403f4a8223876a5d65be509f6fde9/68747470733a2f2f706f7365722e707567782e6f72672f6c6f732f6c6f7375692f762f737461626c652e737667)](https://packagist.org/packages/los/losui) [![Total Downloads](https://camo.githubusercontent.com/1a8b51324a07884d9fe3c106244956574b2f2cdad6384c4ac6e08a7bfe305bf6/68747470733a2f2f706f7365722e707567782e6f72672f6c6f732f6c6f7375692f646f776e6c6f6164732e737667)](https://packagist.org/packages/los/losui) [![Coverage Status](https://camo.githubusercontent.com/822ca9ddfcc0abcbe70c47fa124ed08f40ee803a44313603c901a2b08c240f17/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f4c616e736f7765622f4c6f7355692f62616467652e737667)](https://coveralls.io/r/Lansoweb/LosUi) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/0bacef280f139dd6563175191c8f2d11e2dcb0de1bf8dd75a2d540ebe9b34700/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c616e736f7765622f4c6f7355692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Lansoweb/LosUi/?branch=master) [![SensioLabs Insight](https://camo.githubusercontent.com/65293b3a722bd0f3ea36be27a453d81598302b37800a4b63a3d036fbc310b83b/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f62616233313337382d373764322d343662332d393464662d3937366336306564326665362e7376673f7374796c653d666c6174)](https://insight.sensiolabs.com/projects/bab31378-77d2-46b3-94df-976c60ed2fe6) [![Dependency Status](https://camo.githubusercontent.com/1b7fd15b320b03f742ec4b895de39904fb708f08d50cfb787698af5a1c95e5c5/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534646138333663633162626264356638323030303335372f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/54da836cc1bbbd5f82000357) [![Dependency Status](https://camo.githubusercontent.com/43344131ee7501fe5379e09d54c61b1d03b31967c99b031b900873d7ffa08d5d/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534646138333765633162626264356638323030303335652f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/54da837ec1bbbd5f8200035e)

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

[](#introduction)

This module provides a shortcut to several UI resources from [Bootstrap](http://getbootstrap.com).

In the version 2.\*, this library provides only method for styling your HTML with bootstrap. The previous method (providing the js and css files) had a serious performance issue, because if hooked on the end of the request (404 error) to return the required files.

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

[](#requirements)

Please see composer.json

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

[](#installation)

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

1. Enter your project directory
2. Run `php composer.phar require los/losui`

Usage
-----

[](#usage)

This module provides two main View Helpers: LosHeadLink and LosHeadScript.

### Jquery

[](#jquery)

The first argument indicates the use of minified version (default) or not, while the second indicates a specific version of a CDN file.

Just add the following to your layout.phtml file:

```
