Hi Elggers. I notice that all of the third party plugins for elgg have to be installed manually, which sometimes can be a pain when deploying to server with such a large file size. Why not use composer to manage plugins considering it is a common practice in many popular PHP framework?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Jerome Bakker@jeabakker
Jerome Bakker - 0 likes
- damieneskimo@damieneskimo
damieneskimo - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 1 like
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- damieneskimo@damieneskimo
damieneskimo - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 1 like
- Add composer support
- Submit the plugin to Packagist
- Matt Beckett@Beck24
Matt Beckett - 1 like
- damieneskimo@damieneskimo
damieneskimo - 0 likes
You must log in to post replies.Lot's of plugin developers already have composer support in their plugins. So most of the popular plugins you can already install using composer.
For example see all our composer plugins https://packagist.org/packages/coldtrick/
or https://packagist.org/packages/hypejunction/
and many more https://packagist.org/search/?tags=elgg
Pretty cool. Thanks, Jerome. Usually I just search in elgg plugins site, but didn't see any plugin list composer as a way of installing.
Many Elgg plugins already support Composer. Currently the only problem (at least for sites maintained by myself) is that many plugins have not been submitted to Packagist or any other public Composer repository.
I'm however confident that the amount of plugins available though public repos will continue to grow.
It's definitely been moving that way for a while. A couple of people (well, IK) have completely cut the cord and are only releasing via git/composer. You're right though, the old download & unzip is archaic, but due to simple legacy that's the only way to get a lot of older existing plugins. Most new development is heading that way though and as Juho said it will grow increasingly more common.
@Matt @Juho I definitely agree with you guys, but no offence, on some of your plugins page or git hub repos, I didn't see composer as a way of installation, so that is why I have the impression that elgg plugins developers don't like to go for composer.
Feel free to create a feature request issue for those Github repositories that do not yet support Composer.
I usually do two separate issues:
I add composer support to all of my new plugins, and older plugins as I work on/upgrade them. I do have a *lot* of older legacy plugins that probably still work fine, but I haven't actively worked on in a while, so they aren't available via composer yet.
@Matt @Juho Thank you both for your great effort.