PHPackages                             sukovanej/aceeditor-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. sukovanej/aceeditor-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

sukovanej/aceeditor-bundle
==========================

Bundle that integrate excellent JavaScript ace editor into Symfony Form.

3.0.0(8y ago)020MITPHPPHP &gt;=5.6

Since Jun 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sukovanej/aceeditor-bundle)[ Packagist](https://packagist.org/packages/sukovanej/aceeditor-bundle)[ RSS](/packages/sukovanej-aceeditor-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (8)Versions (9)Used By (0)

Ace Editor Bundle
=================

[](#ace-editor-bundle)

[![Build Status](https://camo.githubusercontent.com/356c6369d43700024a94007a2c21205341b3dfd19043b4c1af559f58fa7e1093/68747470733a2f2f7472617669732d63692e6f72672f73756b6f76616e656a2f616365656469746f722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sukovanej/aceeditor-bundle)

Bundle provides a [Ace editor](http://ace.ajax.org) integration into Symfony Form component. It automatically register `ace_editor` form type.

Symfony
=======

[](#symfony)

This bundle is supporting following Symfony versions:

- [Symfony ^2.8](https://github.com/sukovanej/aceeditor-bundle/tree/2.8)
- [Symfony ^3.0](https://github.com/sukovanej/aceeditor-bundle/tree/3.0)

Composer
--------

[](#composer)

To use this bundle with `Symfony ^3.0`, require it in [Composer](https://getcomposer.org/):

```
composer require "sukovanej/aceeditor-bundle" ^3.0
```

Register bundle in AppKernel.php

```
// app/AppKernel.php

public function registerBundles()
{
    return array(
        new Sukovanej\AceEditorBundle\SukovanejAceEditorBundle(),
        // ...
    );
}
```

### Ace editor

[](#ace-editor)

Unles you do some configuration, this bundle expect Ace editor files to be in `web/vendor/ace`:

```
cd your_project_root/web
mdkir vendor && cd vendor
wget https://github.com/ajaxorg/ace-builds/archive/v1.2.6.tar.gz
tar -xvf v1.2.6.tar.gz
mv ace-builds-1.2.6 ace
rm v1.2.6.tar.gz
```

Usage
-----

[](#usage)

```
use Sukovanej\AceEditorBundle\Form\Type\AceEditorType;

/* @var $builder \Symfony\Component\Form\FormBuilderInterface */
$builder->add('description', AceEditorType::class, array(
    'wrapper_attr' => array(), // aceeditor wrapper html attributes.
    'width' => '100%',
    'height' => 250,
    'font_size' => 12,
    'mode' => 'ace/mode/html', // every single default mode must have ace/mode/* prefix
    'theme' => 'ace/theme/monokai', // every single default theme must have ace/theme/* prefix
    'tab_size' => null,
    'read_only' => null,
    'use_soft_tabs' => null,
    'use_wrap_mode' => null,
    'show_print_margin' => null,
    'show_invisibles' => null,
    'highlight_active_line' => null,
    'options_enable_basic_autocompletion' => true,
    'options_enable_live_autocompletion' => true,
    'options_enable_snippets' => false
    'keyboard_handler' => null
));
```

Above code will create textarea element that will be replaced with ace editor instance. Textarea value is updated on every single change in ace editor.

Configuration
-------------

[](#configuration)

> This section is optional, you dont need to configure anything and the form type will still work perfectly fine

Default configuration:

```
# app/config/config.yml

sukovanej_ace_editor:
    base_path: "vendor/ace" # notice! this is starting from "your_project_root/web"!
    autoinclude: true
    debug: false # sources not minified, based on kernel.debug but it can force it
    noconflict: true # uses ace.require instead of require

```

You can also include Ace editor directly from a location that follow the same directory layout than `https://github.com/ajaxorg/ace-builds`, all you need to do is setting `base_path` option:

```
sukovanej_ace_editor:
    base_path: "http://rawgithub.com/ajaxorg/ace-builds/master"

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~245 days

Recently: every ~228 days

Total

7

Last Release

3234d ago

Major Versions

0.1.2 → 2.8.02017-07-07

2.8.x-dev → 3.0.02017-07-07

PHP version history (2 changes)0.1.0PHP &gt;=5.3.3

2.8.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/044d9aa1859de305bd86ba8c67a364b9845ab147993d3a6b994362a4e9387852?d=identicon)[sukovanej](/maintainers/sukovanej)

---

Top Contributors

[![norberttech](https://avatars.githubusercontent.com/u/1921950?v=4)](https://github.com/norberttech "norberttech (12 commits)")[![sukovanej](https://avatars.githubusercontent.com/u/6271474?v=4)](https://github.com/sukovanej "sukovanej (9 commits)")[![azzra](https://avatars.githubusercontent.com/u/9268494?v=4)](https://github.com/azzra "azzra (2 commits)")[![thvd](https://avatars.githubusercontent.com/u/973711?v=4)](https://github.com/thvd "thvd (1 commits)")[![AlexeyKupershtokh](https://avatars.githubusercontent.com/u/499778?v=4)](https://github.com/AlexeyKupershtokh "AlexeyKupershtokh (1 commits)")[![xanido](https://avatars.githubusercontent.com/u/870488?v=4)](https://github.com/xanido "xanido (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![romaricdrigon](https://avatars.githubusercontent.com/u/919405?v=4)](https://github.com/romaricdrigon "romaricdrigon (1 commits)")

---

Tags

symfonybundlejavascriptcodeeditorformace

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sukovanej-aceeditor-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/sukovanej-aceeditor-bundle/health.svg)](https://phpackages.com/packages/sukovanej-aceeditor-bundle)
```

###  Alternatives

[norberttech/aceeditor-bundle

Bundle that integrate excellent JavaScript ace editor into Symfony Form.

28310.8k](/packages/norberttech-aceeditor-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[endroid/qr-code-bundle

Endroid QR Code Bundle

32110.6M17](/packages/endroid-qr-code-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
