FriendsOfSymfony / FOSCKEditorBundle

Provides a CKEditor integration for your Symfony project.
Other
522 stars 84 forks source link

There are no commands defined in the "ckeditor" namespace #229

Open dennis1906 opened 3 years ago

dennis1906 commented 3 years ago

Hi there, I am using Symfony 5.2.4 and wanted to integrate the FOS CKEditor Bundle in my project.

Unfortunately the command php bin/console ckeditor:install causes the following error:

There are no commands defined in the "ckeditor" namespace.

Does anyone have an idea what to do?

Arielblues commented 3 years ago

Run the following

composer require friendsofsymfony/ckeditor-bundle

MarcoValeri commented 3 years ago

Hi @dennis1906

I had the same problem and I realized that I didn't have it into the config/bundle.php

config/bundles.php:

return [
    // ...
    FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true],
];

I had the above line of code, then I run again php bin/console ckeditor:install and it works.