2017 © Pedro Peláez
 

yii2-extension yii2-codemirror-widget

The Codemirror extension for the Yii framework

image

andreosoft/yii2-codemirror-widget

The Codemirror extension for the Yii framework

  • Saturday, March 25, 2017
  • by andreosoft
  • Repository
  • 1 Watchers
  • 1 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-codemirror-widget

CodeMirror extension for Yii2, (*1)

Installation

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

Either run, (*3)

php composer.phar require 'andreosoft/yii2-codemirror-widget', (*4)

or add, (*5)

"andreosoft/yii2-codemirror-widget": "*", (*6)

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

Usage

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

= $form->field($model, 'content')->widget(Codemirror::className(), [ 'editorOptions' => [ 'lineNumbers' => true, 'matchBrackets' => true, 'indentUnit' => 4, 'indentWithTabs' => true, 'mode' => 'application/x-httpd-php', ], 'editorHeight' => 800]) ?>

The Versions

25/03 2017

dev-master

9999999-dev

The Codemirror extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Andrey Zagorets

yii2 codemirror