Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/introducing-composer #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

patrick-blom
Copy link
Contributor

This request introduces composer to the project. Composer can be used for dependency management and auto loading. Composer is the common best practice tool for PHP applications and would provide i.m.h.o a lot of benefits for this project especially if more features are planned in the future.

In this step I implemented composer for auto loading and moved the "HA-config file loading"-logic to a separate class for a more cleared structure of the code. The idea is to do this with other parts of the code as well to make feature implementations and application maintenance more easy.

Different to other PHP applications I decided to also commit the vendor directory. That's because I want to keep an installable artifact without touching any build process. Normally this directory is not included in the code, and built during the pipeline run when creating the artifact.

If you like my approach/Idea, I would really appreciate a merge into master, or if not, feel free to share your opinion with me.

Cheers Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant