ramsey / php-library-starter-kit

:building_construction: A tool to quickly set up the base files of a PHP library project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support other providers (i.e., GitLab, Bitbucket, etc.)

ramsey opened this issue · comments

Support other VCS providers

Add support for VCS providers such as GitLab, Bitbucket, Codeberg, Gitea, etc.

Background/problem

This starter kit wizard currently supports only GitHub, but many folks prefer services such as GitLab, Bitbucket, Codeberg, Gitea, and more. Adding support for other providers would help those who use those providers get started developing PHP libraries more quickly.

Proposal/solution

Add a new question with options to choose a provider. Start with one provider (e.g., GitLab) and ensure the functionality is abstracted in a way that allows adding additional providers easily.

To support new providers, some of the language needs to change in existing wizard questions and documentation. Additionally, the GitHub configuration files in .github/ should have corresponding files added for each provider to resources/templates/provider/. These will be copied to the project when the wizard generates the project files for the user.

Alternatives

Additional context