2017 © Pedro Peláez
 

module codemirror

CodeMirror Module for Zend Framework 2

image

rovak/codemirror

CodeMirror Module for Zend Framework 2

  • Saturday, December 15, 2012
  • by Rovak
  • Repository
  • 1 Watchers
  • 1 Stars
  • 23 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CodeMirror View Helper

CodeMirror intergration module for Zend Framework 2, (*1)

By Roy van Kaathoven, (*2)

Introduction

This module adds a view helper that enables you to easily add a codemirror editor to your website. It will add the required javascript files including any dependent mode files and adds a init function which will load the editor., (*3)

Requirements

Installation

Configure the lib_path inside module.config.php to point to the root of the CodeMirror library, (*4)

Usage

The headScript, headLink and inlineScript view helpers are required to be outputted in your view, (*5)

<?php $this->codemirror($code, 'php'); ?>

Supported modes

  • PHP
  • HTML
  • CSS
  • XML
  • Javascript

You can add more modes by adding them to the module.config.php file. Please submit a PR if you do so!, (*6)

TODO

The Versions

15/12 2012

dev-master

9999999-dev

CodeMirror Module for Zend Framework 2

  Sources   Download

MIT

The Requires

 

codemirror