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?

2 Answers 2


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.

  • 2
    I'm looking for something like the laravel installation process, e.g. composer create-project craftcms/craftcms your-project-name --prefer-dist Jul 29, 2014 at 16:48
  • 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
    Jul 29, 2014 at 17:26
  • @BradBell where would you recommend to place the plugins require 'vendor/autoload.php'; Dec 2, 2014 at 4:36
  • above the class MyPlugin extends BasePlugin ? Dec 2, 2014 at 4:37
  • 1
    Your plugin's init() method probably.
    – Brad Bell
    Dec 2, 2014 at 4:37

Better late than never... Craft 3 (released April 2018) is fully Composer compliant!

  • was very happy to see that when it was announced! Aug 28, 2018 at 15:16

Your Answer

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

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