xmke / xnova

XNova is a free opensource OGame clone. This one is a french fork under maintenance :D
GNU General Public License v3.0
13 stars 7 forks source link

Add composer as dependency manager #15

Closed wvandenhaak closed 2 years ago

wvandenhaak commented 3 years ago

Would you like to have composer implemented as the dependency manager?

We can use autoloading to move pieces of code to separate classes. Maybe it will also be possible to move the Mustache template engine out of the source code so it can be managed by composer.

wvandenhaak commented 3 years ago

I already have a branch with composer added to the project. I was also able to remove the Mustache template engine and TinyHTMLMinifier from the codebase (they are now retrieved/managed) with composer

If you like I can create another PR for this (the code is based on the code from PR #14 )

xmke commented 3 years ago

Hi @wvandenhaak,

Thanks for your participation :)

I don't know Composer and how it works, just give me some time to document myself before :)

I work on XNova on my spare time, sorry for my late responses...

wvandenhaak commented 3 years ago

No problem.

Maybe this video can help you getting started which composer: https://symfonycasts.com/screencast/composer/composer

wvandenhaak commented 2 years ago

I see that PR #14 has been merged so this issue can be closed. Composer can now be used to install and update the dependencies of this project.

Thanks for merging my pull request.