PHPackages                             solilokiam/summernotebundle - 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. solilokiam/summernotebundle

ActiveLibrary[Templating &amp; Views](/categories/templating)

solilokiam/summernotebundle
===========================

This bundle provides a WYSIWYG editor form type based on summernote

0.1(11y ago)27992[3 issues](https://github.com/solilokiam/SummernoteBundle/issues)MITCSSPHP &gt;=5.3.2

Since May 20Pushed 10y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

SummernoteBundle
================

[](#summernotebundle)

What is SummernoteBundle?
-------------------------

[](#what-is-summernotebundle)

Summernotebundle integrates [SummerNote](http://hackerwins.github.io/summernote/) WYSIWYG Editor into Symfony form type.

Status
------

[](#status)

[![Build Status](https://camo.githubusercontent.com/6912448ed0feaf36a7575f55bed5df615087774b7d46e96ca26656a890c8a63d/68747470733a2f2f7472617669732d63692e6f72672f736f6c696c6f6b69616d2f53756d6d65726e6f746542756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/solilokiam/SummernoteBundle)[![SensioLabsInsight](https://camo.githubusercontent.com/74001f3a16df5ad0661c0d638c9deccf61483f90a255f468f97e5bf0b66bdfb1/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35616331393064382d333638642d343633652d626463662d6562343134323432646534372f6d696e692e706e67)](https://insight.sensiolabs.com/projects/5ac190d8-368d-463e-bdcf-eb414242de47)[![Latest Stable Version](https://camo.githubusercontent.com/df773828ee152b7a0a062d4194882185e7a421b1b8b33de3261055604c79e870/68747470733a2f2f706f7365722e707567782e6f72672f736f6c696c6f6b69616d2f73756d6d65726e6f746562756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/solilokiam/summernotebundle)[![Total Downloads](https://camo.githubusercontent.com/b0b28bfab0d90ec613bcacf0e399e75713b64b4fdcad8c9a094ccecd5365a40e/68747470733a2f2f706f7365722e707567782e6f72672f736f6c696c6f6b69616d2f73756d6d65726e6f746562756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/solilokiam/summernotebundle)[![Latest Unstable Version](https://camo.githubusercontent.com/ddc3ad1d88e0fe60d29b5940e3ef26c9737f186ba3b0b25884a6e73582920238/68747470733a2f2f706f7365722e707567782e6f72672f736f6c696c6f6b69616d2f73756d6d65726e6f746562756e646c652f762f756e737461626c652e706e67)](https://packagist.org/packages/solilokiam/summernotebundle)[![License](https://camo.githubusercontent.com/308788dbc65e94070096e99e0b15ed009fe4bc6b93c64ff40d21ee097100aef2/68747470733a2f2f706f7365722e707567782e6f72672f736f6c696c6f6b69616d2f73756d6d65726e6f746562756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/solilokiam/summernotebundle)

Requirements
------------

[](#requirements)

Minimum requirements for this bundle are:

- Symfony 2.3
- Twitter's Bootstrap 3.0
- jQuery 1.9

Installation
------------

[](#installation)

Add SummernoteBundle to your application's `composer.json` file

```
{
    "require": {
        "solilokiam/summernotebundle": "dev-master"
    }
}
```

Add SummernoteBundle to your application's `AppKernel.php` file

```
new Solilokiam\SummernoteBundle\SolilokiamSummernoteBundle()
```

Add Routing information to your application's `routing.yml`:

```
solilokiam_summernote_bundle:
    resource: "@SolilokiamSummernoteBundle/Resources/config/routing.xml"
    prefix: /summernote
```

Minimal Configuration
---------------------

[](#minimal-configuration)

You must determine which object manager are you using. Currently it only supports Doctrine ODM, and doctrine ORM.

`app/config/config.yml`

```
solilokiam_summernote:
    db_driver: mongodb #supported orm,mongodb for odm
```

You must also tell which class is going to inherit the bundle asset class.

```
solilokiam_summernote:
    asset_class: Acme\DemoBundle\Document\Asset
```

An example for the asset class can be like this (doctrine odm):

```
