<p>So you're really close; <code>composer.json</code> is a list of packages and their <a href="https://getcomposer.org/doc/articles/versions.md" rel="nofollow noreferrer">semvers</a> that should be installed. <code>composer.lock</code> has a manifest of what is <em>actually</em> installed.</p>

<p>In order to deploy to production, you just need a step that executes <code>composer install</code> to install what is in the <code>composer.lock</code> file. Check out the <a href="https://nystudio107.com/blog/setting-up-a-craft-cms-3-project#deploying-craft-cms" rel="nofollow noreferrer">Deploying Craft CMS</a> section of this article for a more thorough run-through.</p>

CC BY-SA 4.0
2018-09-30T03:53:22.873Z
2018-09-30T03:53:22.873Z
andrew.welch
<p>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. </p>

CC BY-SA 4.0
2018-09-29T20:32:25.413Z
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.
Darryl Hardin
CC BY-SA 4.0
2018-09-29T21:10:54.813Z
I think the best way is install plugin by composer, see section Installation with composer here: https://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
CC BY-SA 4.0
2018-09-29T23:50:53.037Z
The issue isn't installing the plugin, it's moving it over to my production environment without moving over every single file.
Darryl Hardin
CC BY-SA 4.0
2018-09-30T07:55:17.650Z
Sorry, you need "install" your plugin manually without composer. The source of information can be Yii2, look at https://stackoverflow.com/questions/30480329/install-yii2-extension-manually-without-using-composer#
lenka
CC BY-SA 4.0
2018-09-29T19:41:57.163Z
2018-09-29T19:41:57.163Z
lenka
<p>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.</p>

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

<craft3><plugins>
What files need to be moved for Craft3 plugins?
# What files need to be moved for Craft3 plugins?

(Asked by: username_0 on 2018-09-28)

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.

**Tags:** craft3, plugins

---

## 2 answers

### Answer by username_1 on 2018-09-30. Score: 3 | Accepted answer

So you're really close; `composer.json` is a list of packages and their [semvers](https://getcomposer.org/doc/articles/versions.md) 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](https://nystudio107.com/blog/setting-up-a-craft-cms-3-project#deploying-craft-cms) section of this article for a more thorough run-through.


---

### Answer by username_2 on 2018-09-29. Score: 0

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.

> **Comments:**
> **username_0**: 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.  
> **username_2**: I think the best way is install plugin by composer, see section Installation with composer here: https://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.  
> **username_0**: The issue isn't installing the plugin, it's moving it over to my production environment without moving over every single file.  
> **username_2**: Sorry, you need "install" your plugin manually without composer. The source of information can be Yii2, look at https://stackoverflow.com/questions/30480329/install-yii2-extension-manually-without-using-composer#  

---

