jasurbek94/jsblock

this is js wrapper in yii2 framework

Installs: 115

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.0 2017-10-12 10:58 UTC

This package is auto-updated.

Last update: 2024-06-21 19:08:52 UTC


README

Jsblock

JsBlock is helps working with js.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist jasurbek94/jsblock "*"

or add

"jasurbek94/jsblock": "*"

to the require section of your composer.json file.

Usage

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

<?php \jasurbek94\jsblock\JsBlock::begin(); ?>
    <script>
        your script goes here
    </script>
<?php  \jasurbek94\jsblock\JsBlock::begin(); ?>