Package Data | |
---|---|
Maintainer Username: | hyperbolaa |
Maintainer Contact: | chongyu366@gmail.com (chong yu) |
Package Create Date: | 2015-12-22 |
Package Last Update: | 2015-12-24 |
Language: | JavaScript |
License: | MIT |
Last Refreshed: | 2024-11-30 15:25:36 |
Package Statistics | |
---|---|
Total Downloads: | 5 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
The ueditor generation support in Symfony2.
Add the following require line to the composer.json
file:
{
"require": {
"hyperbolaa/ueditor": "dev-master"
}
}
And actually install it in your project using Composer:
php composer.phar install
You can also do this in one step with this command:
$ php composer.phar require hyperbolaa/ueditor "dev-master"
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Hyperbolaa\Ueditor\HyperbolaaUeditorBundle(),
);
}
Add this to your routing configuration in app/config/routing.yml
:
hyperbolaa_ueditor:
resource: "@HyperbolaaUeditorBundle/Controller/"
type: annotation
You can configure some options in app/config/config.yml
. Those are the default
values:
hyperbolaa_ueditor:
author: hyperbolaa
find_best_mask: true
find_from_random: false
absolute_url: true