Custom PHP Composer Package on GitLab with PHPUnit Tests

In this guide, you’ll learn how to create a custom PHP Composer package with PHPUnit tests. Follow the step-by-step process to set up your package, write a sample PHP class, and integrate unit tests for your code. Additionally, explore options to publish your package using GitLab or Packagist. This tutorial is designed to help PHP developers streamline their workflow and improve code reusability by creating and sharing their own packages.

Continue reading “Custom PHP Composer Package on GitLab with PHPUnit Tests”

Automatic Changelog and Versioning with GIT

For having a good overview of changes in the software lifecycle, it makes sense to use a software revision system like GIT to automatically generate a CHANGELOG. In order to do that, it is necessary to write appropriate commit messages.

Continue reading “Automatic Changelog and Versioning with GIT”

GitLab: Setting up a dockerized Server on Debian / Ubuntu

GitLab can be self-hosted quite easy. One way is, to run the server in a docker container, which will be described in this article. Our goal is to run a self-hosted GitLab server on a server with a public IP and domain name with GitLab-Runners for CI / CD.

Continue reading “GitLab: Setting up a dockerized Server on Debian / Ubuntu”

GitLab: Automatic releases with CI/CD Pipelines

GitLab allows it, to execute commands after repository commits. With that, it’s possible to do automated software tests for code in the repository.

A few weeks ago, a private project required automatic releases on GitLab at given dates – for example monthly. At the moment such a feature is not (yet) supported by GitLab (https://gitlab.com/gitlab-org/gitlab-ce/issues/63858)

Continue reading “GitLab: Automatic releases with CI/CD Pipelines”