Managing a site using composer

Hi,
  I have been doing some testing with Composer and Elgg 2.x.  I created a starter project for GCconnex, trying to use all the original plugins on Packagist and adding some of our custom ones.  I just modified the composer.json to add the plugins we need.
  https://github.com/smellems/gcconnex-starter

Is this the way to do it?  Could I also fork the Elgg repo directly and add my requires to that composer.json?  Would/Do you use Composer for managing sites in production?

Thanks!

  • You can fork the starter project and add your dependencies there. Whenever you need to uodate the dependencies, you run composer update locally, commit the lock file and pull on production, and run composer install (not update) on production. That way your dependcies stay in sync.

Feedback and Planning

Feedback and Planning

Discussions about the past, present, and future of Elgg and this community site.