PHPackages                             brunohenriquebh/yii2-js-beautify - 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. brunohenriquebh/yii2-js-beautify

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

brunohenriquebh/yii2-js-beautify
================================

Js-beautify extension for Yii2

v1.2.0(10y ago)05LGPL-3.0+PHP

Since Jan 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/brunohenriquebh/yii2-js-beautify)[ Packagist](https://packagist.org/packages/brunohenriquebh/yii2-js-beautify)[ RSS](/packages/brunohenriquebh-yii2-js-beautify/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (4)Used By (0)

Js-beautify
===========

[](#js-beautify)

This little beautifier will reformat and reindent bookmarklets, ugly JavaScript, unpack scripts packed by Dean Edward’s popular packer, as well as deobfuscate scripts processed by javascriptobfuscator.com. Extension for Yii2.

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist brunohenriquebh/yii2-js-beautify "*"

```

or add

```
"brunohenriquebh/yii2-js-beautify": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
