Composer.phar

Discuss about Group-Office development here

Moderator: Developers

richarddodd
Posts: 66
Joined: Fri Jun 21, 2013 2:55 pm

Composer.phar

Postby richarddodd » Mon Jun 30, 2014 9:31 am

Have you thought about using a composer.phar for managing dependencies.

It's way cool :). Also could be configured to fetch module dependencies (for custom modules).
richarddodd
Posts: 66
Joined: Fri Jun 21, 2013 2:55 pm

Re: Composer.phar

Postby richarddodd » Mon Jun 30, 2014 9:43 am

Also I guess it would be a big change, but you could change the preferred install method from debian packages to fetching a tarball. Then the install would be something like

- Fetch dependencies (apt-get | yum | pacman | manual | windows(manual I'm guessing))
- Make a webserver point at groupoffice (apache2 | nginx & fcgi | iis + fcgi (windows))
- Run `php composer.phar install`
- start using groupoffice

This has some major advantages over debian packages

- Less work!
- Can choose specific versions of php deps to use
- More choice for users
- Works with all unix flavours, osx & windows

The disadvantage is that there would be a little more config required by the user (but not that much!).

Just an idea, but I thought I'd post to generate some discussion!

Rich
richarddodd
Posts: 66
Joined: Fri Jun 21, 2013 2:55 pm

Re: Composer.phar

Postby richarddodd » Mon Jun 30, 2014 9:46 am

The other cool thing is that you can use 2 different versions of the same package side-by-side (if some code uses v3 but other uses v2 for example).

I should also mention bower for managing client-side code is cool as well.

Return to “Development Chats”

Who is online

Users browsing this forum: No registered users and 1 guest

cron