2017 © Pedro Peláez
 

yii2-extension yii2-embedjs

Embed JS with IDE checking or intellisense

image

mitrii/yii2-embedjs

Embed JS with IDE checking or intellisense

  • Monday, August 10, 2015
  • by mitrii
  • Repository
  • 1 Watchers
  • 0 Stars
  • 496 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Yii2 embed JS

Embed JS with IDE checking or intellisense, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist mitrii/yii2-embedjs "*"

or add, (*4)

"mitrii/yii2-embedjs": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

<?php \mitrii\widgets\Embedjs::begin(); ?>
<script type="text/javascript">
    console.log('Hello, world!');
</script>
<?php \mitrii\widgets\Embedjs::end(); ?>

The Versions

10/08 2015

dev-master

9999999-dev

Embed JS with IDE checking or intellisense

  Sources   Download

BSD-4-Clause

by Avatar mitrii

extension yii2 js block