dev-master
9999999-dev https://github.com/hyperbolaa/UeditorBundleueditor for symfony2
MIT
The Requires
- php >=5.5.0
by chong yu
symfony2 ueditor
ueditor for symfony2
The ueditor generation support in Symfony2., (*1)
Add the following require line to the composer.json
file:
``` json
{
"require": {
"hyperbolaa/ueditor": "dev-master"
}
}, (*2)
And actually install it in your project using Composer: ``` bash php composer.phar install
You can also do this in one step with this command: ``` bash $ php composer.phar require hyperbolaa/ueditor "dev-master", (*3)
### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Hyperbolaa\Ueditor\HyperbolaaUeditorBundle(), ); }
Add this to your routing configuration in app/config/routing.yml
:, (*4)
``` yaml hyperbolaa_ueditor: resource: "@HyperbolaaUeditorBundle/Controller/" type: annotation, (*5)
Configuration ------------- You can configure some options in `app/config/config.yml`. Those are the default values: ``` yaml hyperbolaa_ueditor: author: hyperbolaa find_best_mask: true find_from_random: false absolute_url: true
, (*6)
, (*7)
ueditor for symfony2
MIT
symfony2 ueditor