jasurbek94 / jsblock
this is js wrapper in yii2 framework
1.0.0
2017-10-12 10:58 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-02-21 23:13:20 UTC
README
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(); ?>