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
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2025-03-21 21:07:09 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(); ?>