Dependency Management: Composer

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
User avatar
callumacrae
Infrastructure Team
Infrastructure Team
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: Dependency Management: Composer

Post by callumacrae » Sun Sep 02, 2012 12:27 am

Yup. SSH and follow the instructions from the composer website (and the README.md)
Made by developers, for developers!
My blog

User avatar
oddfish
Registered User
Posts: 110
Joined: Tue Mar 27, 2007 5:53 am
Location: on my way home
Contact:

Re: Dependency Management: Composer

Post by oddfish » Sun Sep 02, 2012 2:15 am

**edit ..

Thought I had an issue with composer (fabpot/goutte 1.0.x-dev didn't play nice) but changing $dbms = 'mysql'; to $dbms = 'mysqli'; fixed an issue with updating and a fresh install, which goes without saying really. :oops:

blueray2048
Registered User
Posts: 5
Joined: Wed Oct 04, 2006 4:31 am
Contact:

Re: Dependency Management: Composer

Post by blueray2048 » Thu Sep 27, 2012 11:32 am

While the composer is a great tool to add to.
It's sometimes require git to be installed for some dependency to work.
I just experience the phpdocumentor 2.0.x which might requires me to add one on windows.

However, I can't see git have a good support yet on windows platform.
I'am not used it before. If I'am wrong, please let me know.
Thanks

User avatar
igorw
Registered User
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: Dependency Management: Composer

Post by igorw » Thu Sep 27, 2012 11:41 am

It requires git for dependencies that are unstable. Currently phpBB has no unstable dependencies. Either way, git has become more mature on windows, I don't believe it is an issue at this point (maybe some of the windows dev team members can give their thoughts on this).

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1732
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Dependency Management: Composer

Post by DavidIQ » Thu Sep 27, 2012 12:36 pm

igorw wrote:Either way, git has become more mature on windows, I don't believe it is an issue at this point (maybe some of the windows dev team members can give their thoughts on this).
SmartGit works perfect and the Windows tool now provided by Github is decent as well. I don't think either of these is needed in this case however since I would assume clicking on the download button in Github would suffice.
Image

Senky
Extension Customisations
Extension Customisations
Posts: 283
Joined: Thu Jul 16, 2009 4:41 pm

Re: Dependency Management: Composer

Post by Senky » Thu Sep 27, 2012 1:25 pm

igorw wrote:...(maybe some of the windows dev team members can give their thoughts on this).
I use git-scm (as recommended on github) and it works perfect. It can automatically convert line endings, so there is no problem in using git on Windows. However the truth is, that I have never used more than 5-8 basic git methods (pull, push, merge, rebase, log, add, commit, ...).

blueray2048
Registered User
Posts: 5
Joined: Wed Oct 04, 2006 4:31 am
Contact:

Re: Dependency Management: Composer

Post by blueray2048 » Fri Sep 28, 2012 10:11 am

igorw wrote:Either way, git has become more mature on windows, I don't believe it is an issue at this point (maybe some of the windows dev team members can give their thoughts on this).
It is true that git's support on windows was much better than years before. And there are a few GUI front ends available for selection. (And I just one for testing)
I have been monitoring it for years. The tool on windows platform do released preview or beta for the most of time.
Lost data or the similar things might be happened on using these preview releases. But this is another story.

diywebdev
Registered User
Posts: 1
Joined: Sat Oct 13, 2012 11:40 am

Re: Dependency Management: Composer

Post by diywebdev » Sat Oct 13, 2012 11:51 am

For Setting up Composer in Windows, you can check out here, there is an installer for it, very easy and save so much time ;)

User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: Dependency Management: Composer

Post by RMcGirr83 » Sun Oct 21, 2012 12:43 pm

I wonder if anyone could possibly make this just a wee bit more of a pain in the arse/time consuming. I'm trying to "get involved" but after 2 hours of this composer nonsense I give up. I guess the K.I.S.S. theory took a back seat.
Untitled.png
(54.69 KiB) Downloaded 3677 times
So much for me contributing patches. :roll:

It's no wonder that more people don't get involved.
Do not hire Christian Bullock he won't finish the job and will keep your money

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1732
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Dependency Management: Composer

Post by DavidIQ » Sun Oct 21, 2012 1:05 pm

Did you try to run the update command like it says?
Image

Post Reply