<p>Better late than never... <strong>Craft 3</strong> (released April 2018) is <a href="https://docs.craftcms.com/v3/installation.html#step-1-download-craft" rel="nofollow noreferrer">fully Composer compliant</a>!</p>

CC BY-SA 4.0
2018-08-28T15:16:57.403Z
was very happy to see that when it was announced!
Richard Frank
CC BY-SA 4.0
2018-08-20T21:35:20.063Z
2018-08-20T21:35:20.063Z
Lindsey D
<p>I'm not 100% sure what you're looking for, but Craft does use Composer to manage its own dependencies.</p>

<p>If you're referring to using Composer in your plugin, it's as simple as creating your composer.json file in your plugin's root folder and running <code>composer update</code>.</p>

CC BY-SA 3.0
2014-07-29T16:48:13.783Z
I'm looking for something like the laravel installation process, e.g. composer create-project craftcms/craftcms your-project-name --prefer-dist
Richard Frank
CC BY-SA 3.0
2014-07-29T17:26:55.157Z
Ahh, I see.  We'll most likely implement that when we update to Yii 2.0 (since that's how they install as well), which would be on a major release like Craft 3.  I'll add it to the list.
Brad Bell
CC BY-SA 3.0
2014-12-02T04:36:12.250Z
@BradBell where would you recommend to place the plugins `require 'vendor/autoload.php';`
Luke Holder
CC BY-SA 3.0
2014-12-02T04:37:18.610Z
above the `class MyPlugin extends BasePlugin
` ?
Luke Holder
CC BY-SA 3.0
2014-12-02T04:37:19.240Z
Your plugin's init() method probably.
Brad Bell
CC BY-SA 3.0
2015-11-02T21:45:47.273Z
I would love to hear any updates on this. This is a constant struggle with our craft sites when it comes to version control and local setup/development.
Carrie Kendall
CC BY-SA 3.0
2014-07-28T15:35:21.090Z
2014-07-28T15:35:21.090Z
Brad Bell
<p>Since there is a free edition and the plugin architecture looks relatively simple, I'd like to know if anyone has an idea of how this could work. Are there any plans for it?</p>

<composer>
What would it take to make Craft composer based?
# What would it take to make Craft composer based?

(Asked by: username_0 on 2014-07-28)

Since there is a free edition and the plugin architecture looks relatively simple, I'd like to know if anyone has an idea of how this could work. Are there any plans for it?

**Tags:** composer


---

## 2 answers

### Answer by username_2 on 2014-07-28. Score: 5 | Accepted answer

I'm not 100% sure what you're looking for, but Craft does use Composer to manage its own dependencies.

If you're referring to using Composer in your plugin, it's as simple as creating your composer.json file in your plugin's root folder and running `composer update`.

> **Comments:**
> **username_0**: I'm looking for something like the laravel installation process, e.g. composer create-project craftcms/craftcms your-project-name --prefer-dist  
> **username_2**: Ahh, I see.  We'll most likely implement that when we update to Yii 2.0 (since that's how they install as well), which would be on a major release like Craft 3.  I'll add it to the list.  
> **username_3**: @BradBell where would you recommend to place the plugins `require 'vendor/autoload.php';`  
> **username_3**: above the `class MyPlugin extends BasePlugin ` ?  
> **username_2**: Your plugin's init() method probably.  
> **username_4**: I would love to hear any updates on this. This is a constant struggle with our craft sites when it comes to version control and local setup/development.  

---

### Answer by username_1 on 2018-08-20. Score: 3

Better late than never... **Craft 3** (released April 2018) is [fully Composer compliant](https://docs.craftcms.com/v3/installation.html#step-1-download-craft)!

> **Comments:**
> **username_0**: was very happy to see that when it was announced!  

---

