I'm trying to get the redactor onto my site. I've successfully moved over plugins from the store and a custom plugin I created. But I did those towards the start and had migrated the entire project onto the site. I don't want to move 4,000 files over just to get one plugin to show up.

I've tried moving composer.json, composer.lock, and manually moving the specific vendor folder in as well. I also migrated the database from the dev site to the production site.

2 Answers 2


So you're really close; composer.json is a list of packages and their semvers that should be installed. composer.lock has a manifest of what is actually installed.

In order to deploy to production, you just need a step that executes composer install to install what is in the composer.lock file. Check out the Deploying Craft CMS section of this article for a more thorough run-through.


I hope I understand your question well. You can install Redactor editor directly from Plugin Store. After you can change files in vendor\craftcms\redactor\lib by some other Redactor version.

  • Thanks for the response, but my issue is I can't install plugins on my site in production so I have to do it in my dev environment. I'd like to be able to install the plugin and then move only the files that need to be moved. Sep 29, 2018 at 20:32
  • I think the best way is install plugin by composer, see section Installation with composer here: github.com/craftcms/redactor You can do it without Plugins Store. All files of redactor plugin are in two directiries config\redactor and vendor\craftcms\redactor.
    – lenka
    Sep 29, 2018 at 21:10
  • The issue isn't installing the plugin, it's moving it over to my production environment without moving over every single file. Sep 29, 2018 at 23:50
  • Sorry, you need "install" your plugin manually without composer. The source of information can be Yii2, look at stackoverflow.com/questions/30480329/…
    – lenka
    Sep 30, 2018 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.