This is a template to be used in Mia Platform console to create a new Microservice using PHP.
The microservice comes with one page, the index
one. It implements also the technical endpoints for Kubernetes
/-/check
/-/healthz
/-/ready
Make sure you have installed the following tools
You can obtain it as a bundle in XAMPP
Then put the entire repo into <xamppFolder>\htdocs\<yourRepo>
(i.e. C:\xampp\htdocs\sample-php
) and browse it from http://localhost/<yourRepo>
(i.e. http://localhost/sample-php
)
The microservice comes with Build&Deploy GitLab pipeline (see .gitlab-ci.yml
), simply push the code and tag it when you want to deploy.